Definition at line 14 of file autoload.inc.php.
Static Public Member Functions | |
init () | |
this initializes our list of classes and functions. | |
register ($class, $path) | |
Add a class to the autoload system. | |
registerFunction ($function) | |
Add a callback function to the autoload system. | |
load ($class) | |
Dynamically load a class. | |
Private Member Functions | |
__construct () | |
private constructor... | |
Static Private Attributes | |
$classes = null | |
This is where we store the array of classes => paths. | |
$functions = null | |
this is where we store an array of callback functions |
|
private constructor... you dont instantiate this class. Definition at line 29 of file autoload.inc.php. |
|
this initializes our list of classes and functions. it is automatically called when you include the class. no need to call. Definition at line 37 of file autoload.inc.php. |
|
Dynamically load a class. this function will do the actual loading of the class. its called from __autoload, so you wont ever need to call this.
Definition at line 190 of file autoload.inc.php. |
|
Add a class to the autoload system.
Definition at line 162 of file autoload.inc.php. |
|
Add a callback function to the autoload system. Add your own custom autoload function to the system. Just pass in the string name and if your class isnt found previous in the list of classes, it will call go through the list of functions and eventually call yours.
Definition at line 176 of file autoload.inc.php. |
|
This is where we store the array of classes => paths.
Definition at line 19 of file autoload.inc.php. |
|
this is where we store an array of callback functions
Definition at line 24 of file autoload.inc.php. |