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.
파일 보기
프로젝트 열기: pradosoft/prado
보호된 프로퍼티들
공개 메소드들
메소드 상세
Get the parameter substitution key.
Set the parameter substitution key.
Set the option to trim the contents.
프로퍼티 상세
protected string $key |
리턴 |
string |
|
To trim or not to trim the contents.