| 
    ILIAS
    release_10 Revision v10.1-43-ga1241a92c2f
    
   | 
  
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) | |
  Public Member Functions inherited from ILIAS\Refinery\Transformation | |
| 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 36 of file CaseOfLabel.php.
| ILIAS\Refinery\String\CaseOfLabel::__construct | ( | string | $language_key | ) | 
Definition at line 184 of file CaseOfLabel.php.
References ILIAS\Refinery\String\CaseOfLabel\$language_key.
      
  | 
  private | 
Definition at line 229 of file CaseOfLabel.php.
Referenced by ILIAS\Refinery\String\CaseOfLabel\buildPatterns().
 Here is the caller graph for this function:
      
  | 
  private | 
Definition at line 220 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 237 of file CaseOfLabel.php.
| ILIAS\Refinery\String\CaseOfLabel::transform | ( | $from | ) | 
| LogicException | 
Implements ILIAS\Refinery\Transformation.
Definition at line 194 of file CaseOfLabel.php.
References ILIAS\Refinery\String\CaseOfLabel\buildPatterns().
 Here is the call graph for this function:
      
  | 
  private | 
Definition at line 41 of file CaseOfLabel.php.
Referenced by ILIAS\Refinery\String\CaseOfLabel\__construct().
      
  | 
  protected | 
Definition at line 43 of file CaseOfLabel.php.