MediaWiki
REL1_23
|
Public Member Functions | |
__construct ($options=array()) | |
getDependencies () | |
Get a list of modules this module depends on. | |
getGroup () | |
Get the group this module is in. | |
getSource () | |
Get the origin of this module. | |
Protected Attributes | |
$dependencies = array() | |
$group = null | |
$source = 'local' | |
$targets = array( 'test' ) |
Definition at line 42 of file ResourceLoaderTestCase.php.
ResourceLoaderTestModule::__construct | ( | $ | options = array() | ) |
Get a list of modules this module depends on.
Dependency information is taken into account when loading a module on the client side.
To add dependencies dynamically on the client side, use a custom loader script, see getLoaderScript()
Reimplemented from ResourceLoaderModule.
Definition at line 55 of file ResourceLoaderTestCase.php.
Get the group this module is in.
Reimplemented from ResourceLoaderModule.
Definition at line 59 of file ResourceLoaderTestCase.php.
Get the origin of this module.
Should only be overridden for foreign modules.
Reimplemented from ResourceLoaderModule.
Definition at line 63 of file ResourceLoaderTestCase.php.
References source.
ResourceLoaderTestModule::$dependencies = array() [protected] |
Definition at line 44 of file ResourceLoaderTestCase.php.
ResourceLoaderTestModule::$group = null [protected] |
Definition at line 45 of file ResourceLoaderTestCase.php.
ResourceLoaderTestModule::$source = 'local' [protected] |
Definition at line 46 of file ResourceLoaderTestCase.php.
ResourceLoaderTestModule::$targets = array( 'test' ) [protected] |
Reimplemented from ResourceLoaderModule.
Definition at line 47 of file ResourceLoaderTestCase.php.