MediaWiki REL1_39
|
A factory that stores information about MagicWords, and creates them on demand with caching. More...
Public Member Functions | |
__construct (Language $contLang, HookContainer $hookContainer) | |
#- | |
get ( $id) | |
Factory: creates an object representing an ID. | |
getCacheTTL ( $id) | |
Allow external reads of TTL array. | |
getContentLanguage () | |
getDoubleUnderscoreArray () | |
Get a MagicWordArray of double-underscore entities. | |
getSubstIDs () | |
Get an array of parser substitution modifier IDs. | |
getVariableIDs () | |
Get an array of parser variable IDs. | |
newArray (array $names=[]) | |
Get a new MagicWordArray with provided $names. | |
A factory that stores information about MagicWords, and creates them on demand with caching.
Possible future improvements:
Definition at line 37 of file MagicWordFactory.php.
MagicWordFactory::__construct | ( | Language | $contLang, |
HookContainer | $hookContainer ) |
#-
Definition at line 212 of file MagicWordFactory.php.
MagicWordFactory::get | ( | $id | ) |
Factory: creates an object representing an ID.
string | $id | The internal name of the magic word |
Definition at line 228 of file MagicWordFactory.php.
MagicWordFactory::getCacheTTL | ( | $id | ) |
Allow external reads of TTL array.
string | $id |
Definition at line 266 of file MagicWordFactory.php.
MagicWordFactory::getContentLanguage | ( | ) |
Definition at line 217 of file MagicWordFactory.php.
MagicWordFactory::getDoubleUnderscoreArray | ( | ) |
Get a MagicWordArray of double-underscore entities.
Definition at line 279 of file MagicWordFactory.php.
References newArray().
MagicWordFactory::getSubstIDs | ( | ) |
Get an array of parser substitution modifier IDs.
Definition at line 256 of file MagicWordFactory.php.
MagicWordFactory::getVariableIDs | ( | ) |
Get an array of parser variable IDs.
Definition at line 242 of file MagicWordFactory.php.
MagicWordFactory::newArray | ( | array | $names = [] | ) |
Get a new MagicWordArray with provided $names.
array | $names |
Definition at line 293 of file MagicWordFactory.php.
Referenced by getDoubleUnderscoreArray().