MediaWiki
1.27.2
|
Locations of core classes Extension classes are specified with $wgAutoloadClasses This array is a global instead of a static member of AutoLoader to work around a bug in APC. More...
Static Public Member Functions | |
static | autoload ($className) |
autoload - take a class name and attempt to load it More... | |
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. More... | |
static | resetAutoloadLocalClassesLower () |
Method to clear the protected class property $autoloadLocalClassesLower. More... | |
Static Protected Attributes | |
static | $autoloadLocalClassesLower = null |
Locations of core classes Extension classes are specified with $wgAutoloadClasses This array is a global instead of a static member of AutoLoader to work around a bug in APC.
Definition at line 30 of file AutoLoader.php.
|
static |
autoload - take a class name and attempt to load it
string | $className | Name of class we're looking for. |
Definition at line 38 of file AutoLoader.php.
References $IP, $wgAutoloadClasses, $wgAutoloadLocalClasses, global, and wfDebugLog().
|
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 92 of file AutoLoader.php.
|
static |
Method to clear the protected class property $autoloadLocalClassesLower.
Used in tests.
Definition at line 100 of file AutoLoader.php.
Referenced by AutoLoaderTest\setUp().
|
staticprotected |
Definition at line 31 of file AutoLoader.php.