|
Elgg
Version 2.3
|
WARNING: API IN FLUX. More...
Public Member Functions | |
| __toString () | |
| @inheritDoc More... | |
Static Public Member Functions | |
| static | parse ($locale) |
| Create a language, asserting that the language code is valid. More... | |
WARNING: API IN FLUX.
DO NOT USE DIRECTLY.
Language class to ensure only valid languages are used.
@access private
Definition at line 13 of file Locale.php.
| Elgg\I18n\Locale::__toString | ( | ) |
@inheritDoc
Definition at line 28 of file Locale.php.
|
static |
Create a language, asserting that the language code is valid.
| string | $locale | Language code |
| InvalidLocaleException |
Definition at line 41 of file Locale.php.