MediaWiki
REL1_20
|
ResourceLoader module for populating language specific data. More...
Public Member Functions | |
getDependencies () | |
getModifiedTime (ResourceLoaderContext $context) | |
getScript (ResourceLoaderContext $context) | |
Protected Member Functions | |
getData () | |
Get all the dynamic data for the content language to an array. | |
getDigitTransformTable () | |
Get the digit transform table for the content language Seperator transform table also required here to convert the . | |
getPluralRules () | |
Get the plural forms for the site content language. | |
getSiteLangGrammarForms () | |
Get the grammar forms for the site content language. | |
Protected Attributes | |
$language |
ResourceLoader module for populating language specific data.
Definition at line 28 of file ResourceLoaderLanguageDataModule.php.
ResourceLoaderLanguageDataModule::getData | ( | ) | [protected] |
Get all the dynamic data for the content language to an array.
Definition at line 72 of file ResourceLoaderLanguageDataModule.php.
References getDigitTransformTable(), getPluralRules(), and getSiteLangGrammarForms().
Referenced by getModifiedTime(), and getScript().
Reimplemented from ResourceLoaderModule.
Definition at line 119 of file ResourceLoaderLanguageDataModule.php.
ResourceLoaderLanguageDataModule::getDigitTransformTable | ( | ) | [protected] |
Get the digit transform table for the content language Seperator transform table also required here to convert the .
and , sign to appropriate forms in content language.
Definition at line 56 of file ResourceLoaderLanguageDataModule.php.
References $digitTransformTable, and $separatorTransformTable.
Referenced by getData().
$context | ResourceLoaderContext |
Reimplemented from ResourceLoaderModule.
Definition at line 96 of file ResourceLoaderLanguageDataModule.php.
References $result, Language\factory(), getData(), wfGetCache(), wfMemcKey(), and wfTimestamp().
ResourceLoaderLanguageDataModule::getPluralRules | ( | ) | [protected] |
Get the plural forms for the site content language.
Definition at line 45 of file ResourceLoaderLanguageDataModule.php.
Referenced by getData().
$context | ResourceLoaderContext |
Reimplemented from ResourceLoaderModule.
Definition at line 84 of file ResourceLoaderLanguageDataModule.php.
References Xml\encodeJsCall(), Language\factory(), getData(), and ResourceLoaderContext\getLanguage().
ResourceLoaderLanguageDataModule::getSiteLangGrammarForms | ( | ) | [protected] |
Get the grammar forms for the site content language.
Definition at line 36 of file ResourceLoaderLanguageDataModule.php.
Referenced by getData().
ResourceLoaderLanguageDataModule::$language [protected] |
Definition at line 30 of file ResourceLoaderLanguageDataModule.php.