[ Index ]

PHP Cross Reference of MediaWiki-1.24.0

title

Body

[close]

/includes/ -> AutoLoader.php (summary)

This defines autoloading handler for whole MediaWiki framework This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

File Size: 1306 lines (70 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

AutoLoader:: (3 methods):
  autoload()
  loadClass()
  resetAutoloadLocalClassesLower()


Class: AutoLoader  - X-Ref

autoload( $className )   X-Ref
autoload - take a class name and attempt to load it

param: string $className Name of class we're looking for.

loadClass( $class )   X-Ref
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.

param: string $class
return: bool Return the results of class_exists() so we know if we were successful

resetAutoloadLocalClassesLower()   X-Ref
Method to clear the protected class property $autoloadLocalClassesLower.
Used in tests.




Generated: Fri Nov 28 14:03:12 2014 Cross-referenced by PHPXref 0.7.1