MediaWiki  1.28.0
AutoLoader Class Reference

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 resetAutoloadLocalClassesLower ()
 Method to clear the protected class property $autoloadLocalClassesLower. More...
 

Static Protected Attributes

static $autoloadLocalClassesLower = null
 

Detailed Description

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.

Member Function Documentation

static AutoLoader::autoload (   $className)
static

autoload - take a class name and attempt to load it

Parameters
string$classNameName of class we're looking for.

Definition at line 38 of file AutoLoader.php.

References $IP, $wgAutoloadClasses, $wgAutoloadLocalClasses, global, and wfDebugLog().

static AutoLoader::resetAutoloadLocalClassesLower ( )
static

Method to clear the protected class property $autoloadLocalClassesLower.

Used in tests.

Definition at line 88 of file AutoLoader.php.

Referenced by AutoLoaderTest\setUp().

Member Data Documentation

AutoLoader::$autoloadLocalClassesLower = null
staticprotected

Definition at line 31 of file AutoLoader.php.


The documentation for this class was generated from the following file: