MediaWiki
REL1_24
|
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. | |
static | resetAutoloadLocalClassesLower () |
Method to clear the protected class property $autoloadLocalClassesLower. | |
Static Protected Attributes | |
static | $autoloadLocalClassesLower = null |
Definition at line 1222 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 1230 of file AutoLoader.php.
References $IP, $wgAutoloadClasses, $wgAutoloadLocalClasses, global, and wfDebugLog().
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.
string | $class |
Definition at line 1293 of file AutoLoader.php.
Referenced by SVGMetadataExtractorTest\setUp(), and SanitizerTest\setUp().
static AutoLoader::resetAutoloadLocalClassesLower | ( | ) | [static] |
Method to clear the protected class property $autoloadLocalClassesLower.
Used in tests.
Definition at line 1301 of file AutoLoader.php.
Referenced by AutoLoaderTest\setUp().
AutoLoader::$autoloadLocalClassesLower = null [static, protected] |
Definition at line 1223 of file AutoLoader.php.