MediaWiki
REL1_21
|
Static Public Member Functions | |
static | autoload ($className) |
autoload - take a class name and attempt to load it | |
static | loadClass ($class) |
Force a class to be run through the autoloader, helpful for things like Sanitizer that have define()s outside of their class definition. |
Definition at line 1108 of file AutoLoader.php.
static AutoLoader::autoload | ( | $ | className | ) | [static] |
autoload - take a class name and attempt to load it
string | $className | name of class we're looking for. |
Definition at line 1117 of file AutoLoader.php.
References $IP, $wgAutoloadClasses, $wgAutoloadLocalClasses, as, global, and wfDebug().
static AutoLoader::loadClass | ( | $ | class | ) | [static] |
Force a class to be run through the autoloader, helpful for things like Sanitizer that have define()s outside of their class definition.
Of course this wouldn't be necessary if everything in MediaWiki was class-based. Sigh.
$class | string |
Definition at line 1173 of file AutoLoader.php.
Referenced by SVGMetadataExtractorTest\setUp(), and SanitizerTest\setUp().