Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Autoload Class Reference
[Autoload System]

List of all members.

Detailed Description

The autoload interface class.

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


Member Function Documentation

Autoload::__construct  )  [private]
 

private constructor...

you dont instantiate this class.

Definition at line 29 of file autoload.inc.php.

Autoload::init  )  [static]
 

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.

Autoload::load class  )  [static]
 

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.

Parameters:
$class the name of the class to load.

Definition at line 190 of file autoload.inc.php.

Autoload::register class,
path
[static]
 

Add a class to the autoload system.

Parameters:
$class the class name to register
$path the path to the class. remember to use absolute or relative to the autoload.inc.php library file.

Definition at line 162 of file autoload.inc.php.

Autoload::registerFunction function  )  [static]
 

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.

Parameters:
$function - the string name of the function (or static class member)

Definition at line 176 of file autoload.inc.php.


Member Data Documentation

Autoload::$classes = null [static, private]
 

This is where we store the array of classes => paths.

Definition at line 19 of file autoload.inc.php.

Autoload::$functions = null [static, private]
 

this is where we store an array of callback functions

Definition at line 24 of file autoload.inc.php.


The documentation for this class was generated from the following file:
Generated on Fri Oct 27 12:26:40 2006 for BaseJumper by doxygen 1.3.9.1