MediaWiki
REL1_24
|
Protected Member Functions | |
getPages (ResourceLoaderContext $context) | |
Subclasses should return an associative array of resources in the module. |
Definition at line 90 of file ResourceLoaderTestCase.php.
ResourceLoaderWikiModuleTestModule::getPages | ( | ResourceLoaderContext $ | context | ) | [protected] |
Subclasses should return an associative array of resources in the module.
Keys should be the title of a page in the MediaWiki or User namespace.
Values should be a nested array of options. The supported keys are 'type' and (CSS only) 'media'.
For scripts, 'type' should be 'script'.
For stylesheets, 'type' should be 'style'. There is an optional media key, the value of which can be the medium ('screen', 'print', etc.) of the stylesheet.
ResourceLoaderContext | $context |
Reimplemented from ResourceLoaderWikiModule.
Definition at line 92 of file ResourceLoaderTestCase.php.
References array().