MediaWiki
master
|
A factory that stores information about MagicWords, and creates them on demand with caching. More...
Public Member Functions | |
__construct (Language $contLang, HookContainer $hookContainer) | |
#- More... | |
get ( $id) | |
Factory: creates an object representing an ID. More... | |
getCacheTTL ( $id) | |
Allow external reads of TTL array. More... | |
getContentLanguage () | |
getDoubleUnderscoreArray () | |
Get a MagicWordArray of double-underscore entities. More... | |
getSubstIDs () | |
Get an array of parser substitution modifier IDs. More... | |
getVariableIDs () | |
Get an array of parser variable IDs. More... | |
newArray (array $names=[]) | |
Get a new MagicWordArray with provided $names. More... | |
A factory that stores information about MagicWords, and creates them on demand with caching.
Possible future improvements:
Definition at line 40 of file MagicWordFactory.php.
Parser\MagicWordFactory::__construct | ( | Language | $contLang, |
HookContainer | $hookContainer | ||
) |
#-
Language | $contLang | Content language |
HookContainer | $hookContainer |
Definition at line 171 of file MagicWordFactory.php.
Parser\MagicWordFactory::get | ( | $id | ) |
Factory: creates an object representing an ID.
string | $id | The internal name of the magic word |
Definition at line 187 of file MagicWordFactory.php.
Parser\MagicWordFactory::getCacheTTL | ( | $id | ) |
Allow external reads of TTL array.
string | $id |
Definition at line 226 of file MagicWordFactory.php.
Parser\MagicWordFactory::getContentLanguage | ( | ) |
Definition at line 176 of file MagicWordFactory.php.
Parser\MagicWordFactory::getDoubleUnderscoreArray | ( | ) |
Get a MagicWordArray of double-underscore entities.
Definition at line 235 of file MagicWordFactory.php.
References Parser\MagicWordFactory\newArray().
Parser\MagicWordFactory::getSubstIDs | ( | ) |
Get an array of parser substitution modifier IDs.
Definition at line 215 of file MagicWordFactory.php.
Parser\MagicWordFactory::getVariableIDs | ( | ) |
Get an array of parser variable IDs.
Definition at line 201 of file MagicWordFactory.php.
Parser\MagicWordFactory::newArray | ( | array | $names = [] | ) |
Get a new MagicWordArray with provided $names.
array | $names |
Definition at line 249 of file MagicWordFactory.php.
Referenced by Parser\MagicWordFactory\getDoubleUnderscoreArray().