|
ILIAS
release_8 Revision v8.24
|
Class CaseOfLabel. More...
Inheritance diagram for ILIAS\Refinery\String\CaseOfLabel:
Collaboration diagram for ILIAS\Refinery\String\CaseOfLabel:Public Member Functions | |
| __construct (string $language_key) | |
| transform ($from) | |
| @inheritDoc More... | |
Public Member Functions inherited from ILIAS\Refinery\Transformation | |
| transform ($from) | |
| Perform the transformation. More... | |
| applyTo (Result $result) | |
| Perform the transformation and reify possible failures. More... | |
| __invoke ($from) | |
| Transformations should be callable. More... | |
Protected Attributes | |
| array | $not_capitalize |
Private Member Functions | |
| buildPatterns (array $words) | |
| buildPattern (string $word) | |
| replaceHelper (array $result) | |
Private Attributes | |
| string | $language_key |
Class CaseOfLabel.
Format a text for the title capitalization presentation (Specification at https://docu.ilias.de/goto_docu_pg_1430_42.html)
Throws a LogicException in the transform method, if a not supported language is passed
Definition at line 37 of file CaseOfLabel.php.
| ILIAS\Refinery\String\CaseOfLabel::__construct | ( | string | $language_key | ) |
Definition at line 185 of file CaseOfLabel.php.
References ILIAS\Refinery\String\CaseOfLabel\$language_key.
|
private |
Definition at line 230 of file CaseOfLabel.php.
Referenced by ILIAS\Refinery\String\CaseOfLabel\buildPatterns().
Here is the caller graph for this function:
|
private |
Definition at line 221 of file CaseOfLabel.php.
References ILIAS\Refinery\String\CaseOfLabel\buildPattern().
Referenced by ILIAS\Refinery\String\CaseOfLabel\transform().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 238 of file CaseOfLabel.php.
| ILIAS\Refinery\String\CaseOfLabel::transform | ( | $from | ) |
@inheritDoc
| LogicException |
Implements ILIAS\Refinery\Transformation.
Definition at line 195 of file CaseOfLabel.php.
References ILIAS\Refinery\String\CaseOfLabel\buildPatterns().
Here is the call graph for this function:
|
private |
Definition at line 42 of file CaseOfLabel.php.
Referenced by ILIAS\Refinery\String\CaseOfLabel\__construct().
|
protected |
Definition at line 44 of file CaseOfLabel.php.