MediaWiki  REL1_24
ResourceLoaderWikiModuleTestModule Class Reference
Inheritance diagram for ResourceLoaderWikiModuleTestModule:
Collaboration diagram for ResourceLoaderWikiModuleTestModule:

List of all members.

Protected Member Functions

 getPages (ResourceLoaderContext $context)
 Subclasses should return an associative array of resources in the module.

Detailed Description

Definition at line 90 of file ResourceLoaderTestCase.php.


Member Function Documentation

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.

Parameters:
ResourceLoaderContext$context
Returns:
array

Reimplemented from ResourceLoaderWikiModule.

Definition at line 92 of file ResourceLoaderTestCase.php.

References array().


The documentation for this class was generated from the following file: