PHP 클래스 Prado\I18N\TTranslateParameter

For example, the strings "{greeting}" and "{name}" will be replace with the values of "Hello" and "World", respectively. The substitution string must be enclose with "{" and "}". The parameters can be further translated by using TTranslate. {greeting} {name}! World Hello Namespace: System.I18N Properties - Key, string, required.
Gets or sets the string in TTranslate to substitute. - Trim, boolean,
Gets or sets an option to trim the contents of the TParam. Default is to trim the contents.
상속: extends Prado\Web\UI\TControl
파일 보기 프로젝트 열기: pradosoft/prado

보호된 프로퍼티들

프로퍼티 타입 설명
$key string The substitution key.
$trim boolean To trim or not to trim the contents.

공개 메소드들

메소드 설명
getKey ( ) : string Get the parameter substitution key.
getParameter ( ) : string
getTrim ( ) : boolean Trim the content or not.
getValue ( )
setKey ( $value ) Set the parameter substitution key.
setTrim ( $value ) Set the option to trim the contents.
setValue ( $value )

메소드 상세

getKey() 공개 메소드

Get the parameter substitution key.
public getKey ( ) : string
리턴 string substitution key.

getParameter() 공개 메소드

public getParameter ( ) : string
리턴 string parameter contents.

getTrim() 공개 메소드

Trim the content or not.
public getTrim ( ) : boolean
리턴 boolean trim or not.

getValue() 공개 메소드

public getValue ( )

setKey() 공개 메소드

Set the parameter substitution key.
public setKey ( $value )

setTrim() 공개 메소드

Set the option to trim the contents.
public setTrim ( $value )

setValue() 공개 메소드

public setValue ( $value )

프로퍼티 상세

$key 보호되어 있는 프로퍼티

The substitution key.
protected string $key
리턴 string

$trim 보호되어 있는 프로퍼티

To trim or not to trim the contents.
protected bool $trim
리턴 boolean