ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Holds the CLDR data. More...
Static Public Member Functions | |
static | getLanguageNames () |
Returns a dictionary containing the language names. More... | |
static | getTerritoryNames () |
Return a dictionary containing the territory names (in US English). More... | |
static | getScriptNames ($standAlone) |
Return a dictionary containing the script names (in US English). More... | |
static | getPlurals () |
static | getSupersededLanguages () |
Return a list of superseded language codes. More... | |
static | getLanguageInfo ($id) |
Retrieve the name of a language, as well as if a language code is deprecated in favor of another language code. More... | |
Data Fields | |
const | OTHER_CATEGORY = 'other' |
Static Public Attributes | |
static | $categories = array('zero', 'one', 'two', 'few', 'many', self::OTHER_CATEGORY) |
Static Private Member Functions | |
static | getData ($key) |
Returns the loaded CLDR data. More... | |
Static Private Attributes | |
static | $data |
static | $plurals |
Holds the CLDR data.
Definition at line 9 of file CldrData.php.
|
staticprivate |
Returns the loaded CLDR data.
string | $key | Can be 'languages', 'territories', 'plurals', 'supersededLanguages', 'scripts', 'standAloneScripts' |
Definition at line 30 of file CldrData.php.
References $data, Gettext\Languages\CldrData\$data, $key, $list, $m, $result, and array.
|
static |
Retrieve the name of a language, as well as if a language code is deprecated in favor of another language code.
string | $id | The language identifier. |
Definition at line 199 of file CldrData.php.
References $id, Gettext\Languages\CldrData\$plurals, $result, and array.
Referenced by Gettext\Languages\Language\getAll(), and Gettext\Languages\Language\getById().
|
static |
Returns a dictionary containing the language names.
The keys are the language identifiers. The values are the language names in US English.
Definition at line 140 of file CldrData.php.
Referenced by Gettext\Languages\Language\getAll().
|
static |
Definition at line 182 of file CldrData.php.
|
static |
Return a dictionary containing the script names (in US English).
The keys are the script identifiers. The values are the script names in US English.
bool | $standAlone | Set to true to retrieve the stand-alone script names, false otherwise. |
Definition at line 161 of file CldrData.php.
|
static |
Return a list of superseded language codes.
Definition at line 190 of file CldrData.php.
|
static |
Return a dictionary containing the territory names (in US English).
The keys are the territory identifiers. The values are the territory names in US English.
Definition at line 150 of file CldrData.php.
|
static |
Definition at line 20 of file CldrData.php.
Referenced by Gettext\Languages\Category\__construct(), and Gettext\Languages\Language\__construct().
|
staticprivate |
Definition at line 25 of file CldrData.php.
Referenced by Gettext\Languages\CldrData\getData().
|
staticprivate |
Definition at line 168 of file CldrData.php.
Referenced by Gettext\Languages\CldrData\getLanguageInfo().
const Gettext\Languages\CldrData::OTHER_CATEGORY = 'other' |
Definition at line 15 of file CldrData.php.
Referenced by Gettext\Languages\Category\__construct(), Gettext\Languages\Language\__construct(), Gettext\Languages\Language\checkAllCategoriesWithExamples(), and Gettext\Languages\Language\checkAlwaysTrueCategories().