Class YAML
Labels Helper Class definition.
Methods summary
public static
array|null
|
#
get( string $key, string $type = 'cms', string $locale = '' )
Gets a defined label.
Parameters
- $key
- Key of the array.
- $type
- Name of array group.
- $locale
- Locale code.
Returns
array|null
Uses
|
public static
array
|
#
getAll( string $type, string $locale = '' )
Gets all labels for a defined type.
Gets all labels for a defined type.
Parameters
- $type
- Name of the array group.
- $locale
- Locale code.
Returns
array
Uses
Config()
\Spyc
|