PHP 클래스 Neos\FluidAdaptor\ViewHelpers\Format\CaseViewHelper
The default transformation will be uppercase as in
mb_convert_case [1].
Possible modes are:
lower
Transforms the input string to its lowercase representation
upper
Transforms the input string to its uppercase representation
capital
Transforms the input string to its first letter upper-cased, i.e. capitalization
uncapital
Transforms the input string to its first letter lower-cased, i.e. uncapitalization
capitalWords
Transforms the input string to each containing word being capitalized
Note that the behavior will be the same as in the appropriate PHP function
mb_convert_case [1];
especially regarding locale and multibyte behavior.
파일 보기
프로젝트 열기: neos/flow-development-collection
1 사용 예제들
보호된 프로퍼티들
공개 메소드들
메소드 상세
Changes the case of the input string
public render ( string $value = null, string $mode = self::CASE_UPPER ) : string |
$value |
string |
The input value. If not given, the evaluated child nodes will be used |
$mode |
string |
The case to apply, must be one of this' CASE_* constants. Defaults to uppercase application |
리턴 |
string |
the altered string. |
프로퍼티 상세
$escapeChildren 보호되어 있는 프로퍼티
protected bool $escapeChildren |
리턴 |
boolean |
|