MediaWiki
REL1_21
|
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. | |
getDigitGroupingPattern () | |
Get the digit groupin Pattern for the site content language. | |
getDigitTransformTable () | |
Get the digit transform table for the content language. | |
getPluralRules () | |
Get the plural forms for the site content language. | |
getSeparatorTransformTable () | |
Get seperator transform table required for converting the . | |
getSiteLangGrammarForms () | |
Get the grammar forms for the site content language. | |
Protected Attributes | |
$language | |
$targets = array( 'desktop', 'mobile' ) |
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 84 of file ResourceLoaderLanguageDataModule.php.
References array(), getDigitGroupingPattern(), getDigitTransformTable(), getPluralRules(), getSeparatorTransformTable(), and getSiteLangGrammarForms().
Referenced by getModifiedTime(), and getScript().
Reimplemented from ResourceLoaderModule.
Definition at line 133 of file ResourceLoaderLanguageDataModule.php.
References array().
ResourceLoaderLanguageDataModule::getDigitGroupingPattern | ( | ) | [protected] |
Get the digit groupin Pattern for the site content language.
Definition at line 55 of file ResourceLoaderLanguageDataModule.php.
Referenced by getData().
ResourceLoaderLanguageDataModule::getDigitTransformTable | ( | ) | [protected] |
Get the digit transform table for the content language.
Definition at line 64 of file ResourceLoaderLanguageDataModule.php.
Referenced by getData().
$context | ResourceLoaderContext |
Reimplemented from ResourceLoaderModule.
Definition at line 110 of file ResourceLoaderLanguageDataModule.php.
References $cache, $hash, $result, $timestamp, array(), Language\factory(), getData(), wfGetCache(), wfMemcKey(), and wfTimestamp().
ResourceLoaderLanguageDataModule::getPluralRules | ( | ) | [protected] |
Get the plural forms for the site content language.
Definition at line 46 of file ResourceLoaderLanguageDataModule.php.
Referenced by getData().
$context | ResourceLoaderContext |
Reimplemented from ResourceLoaderModule.
Definition at line 98 of file ResourceLoaderLanguageDataModule.php.
References array(), Xml\encodeJsCall(), Language\factory(), getData(), and ResourceLoaderContext\getLanguage().
ResourceLoaderLanguageDataModule::getSeparatorTransformTable | ( | ) | [protected] |
Get seperator transform table required for converting the .
and , sign to appropriate forms in site content language.
Definition at line 74 of file ResourceLoaderLanguageDataModule.php.
Referenced by getData().
ResourceLoaderLanguageDataModule::getSiteLangGrammarForms | ( | ) | [protected] |
Get the grammar forms for the site content language.
Definition at line 37 of file ResourceLoaderLanguageDataModule.php.
Referenced by getData().
ResourceLoaderLanguageDataModule::$language [protected] |
Definition at line 30 of file ResourceLoaderLanguageDataModule.php.
ResourceLoaderLanguageDataModule::$targets = array( 'desktop', 'mobile' ) [protected] |
Reimplemented from ResourceLoaderModule.
Definition at line 31 of file ResourceLoaderLanguageDataModule.php.