MediaWiki
REL1_19
|
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 965 of file AutoLoader.php.
static AutoLoader::autoload | ( | $ | className | ) | [static] |
autoload - take a class name and attempt to load it
$className | String: name of class we're looking for. |
Definition at line 974 of file AutoLoader.php.
References $IP, $wgAutoloadClasses, $wgAutoloadLocalClasses, 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.
Definition at line 1021 of file AutoLoader.php.
Referenced by SVGMetadataExtractorTest\setUp(), and SanitizerTest\setUp().