Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Documentation/ViewHelpers/Fluid.json

Large diffs are not rendered by default.

15 changes: 10 additions & 5 deletions src/ViewHelpers/Format/CaseViewHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,24 @@
* Possible modes are:
*
* ``lower``
* Transforms the input string to its lowercase representation
* Transforms the input string to lowercase
* Example: "Hello World" -> "hello world"
*
* ``upper``
* Transforms the input string to its uppercase representation
* Transforms the input string to uppercase
* Example: "Hello World" -> "HELLO WORLD"
*
* ``capital``
* Transforms the input string to its first letter upper-cased, i.e. capitalization
* Transforms the first character of the input string to uppercase
* Example: "hello world" -> "Hello world"
*
* ``uncapital``
* Transforms the input string to its first letter lower-cased, i.e. uncapitalization
* Transforms the input string to its first letter lower-cased
* Example: "Hello World" -> "hello World"
*
* ``capitalWords``
* Not supported yet: Transforms the input string to each containing word being capitalized
* Transforms the input string to capitalize each word
* Example: "hello world" -> "Hello World"
*
* Note that the behavior will be the same as in the appropriate PHP function `mb_convert_case`_;
* especially regarding locale and multibyte behavior.
Expand Down