Language class to ensure only valid languages are used.
More...
|
static | parse (string $locale) |
| Create a language, asserting that the language code is valid. More...
|
|
Language class to ensure only valid languages are used.
- Since
- 1.11
Definition at line 13 of file Locale.php.
Elgg\I18n\Locale::__toString |
( |
| ) |
|
static Elgg\I18n\Locale::parse |
( |
string |
$locale | ) |
|
|
static |
Create a language, asserting that the language code is valid.
- Parameters
-
string | $locale | Language code |
- Returns
- Locale
- Exceptions
-
Definition at line 39 of file Locale.php.
The documentation for this class was generated from the following file: