- Openclerk\Locale
interface Openclerk \ Locale
- All known implementing classes:
- GenericLocale, DefaultLocale
Method Summary
Name | Description |
---|---|
getKey() | |
getTitle() | |
load() | Load the locale data at runtime. This method should only be called once per request at most. |
public function getKey()
- Returns:
a string representing the locale, e.g. ISO code
public function getTitle()
- Returns:
the English name for this locale, e.g. 'French'
public function load()
Load the locale data at runtime. This method should only be called once per request at most.
- Returns:
an array of (keys => values) which can be cached.