MediaWiki REL1_37
|
Locations of core classes Extension classes are specified with $wgAutoloadClasses. More...
Static Public Member Functions | |
static | autoload ( $className) |
autoload - take a class name and attempt to load it | |
static | find ( $className) |
Find the file containing the given class. | |
static | getAutoloadNamespaces () |
Get a mapping of namespace => file path The namespaces should follow the PSR-4 standard for autoloading. | |
static | resetAutoloadLocalClassesLower () |
Method to clear the protected class property $autoloadLocalClassesLower. | |
Static Public Attributes | |
static string[] | $psr4Namespaces = [] |
Static Protected Attributes | |
static | $autoloadLocalClassesLower = null |
Locations of core classes Extension classes are specified with $wgAutoloadClasses.
Definition at line 31 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 113 of file AutoLoader.php.
|
static |
Find the file containing the given class.
string | $className | Name of class we're looking for. |
Definition at line 46 of file AutoLoader.php.
References $wgAutoloadLocalClasses, and wfDebugLog().
Referenced by FindClasses\execute().
|
static |
Get a mapping of namespace => file path The namespaces should follow the PSR-4 standard for autoloading.
Definition at line 139 of file AutoLoader.php.
|
static |
Method to clear the protected class property $autoloadLocalClassesLower.
Used in tests.
Definition at line 125 of file AutoLoader.php.
|
staticprotected |
Definition at line 32 of file AutoLoader.php.
|
static |
Definition at line 38 of file AutoLoader.php.
Referenced by ExtensionRegistry\exportAutoloadClassesAndNamespaces(), ExtensionRegistry\exportExtractedData(), and ExtensionRegistry\exportTestAutoloadClassesAndNamespaces().