Static Public Member Functions | Data Fields
AutoLoad Class Reference

Internal component handling automatic file inclusion when instantiating new classes. More...

Static Public Member Functions

static getInstance ()
 
static setLocations ($locations)
 
static setExtensions ($extensions)
 
static setExceptions ($exceptions)
 

Data Fields

 $locations = array()
 
 $exceptions = array()
 
 $extensions = array()
 

Detailed Description

Internal component handling automatic file inclusion when instantiating new classes.

Version
1.1
Author
DinuSV

This class is used mostly internally to configure php into automatically including helpers, libraries and exceptions when instantiated. On load time, it's usage consists in requiring controllers and modles.

Member Function Documentation

static getInstance ( )
static

Singleton class

Returns
: instance of this class
static setLocations (   $locations)
static

Locations setter

Parameters
$locationsarray : the locations to look for classes
static setExtensions (   $extensions)
static

Extensions setter

Parameters
$extensionsarray : the extensions of the files the classes will be in
static setExceptions (   $exceptions)
static

Exceptions setter

Parameters
$exceptionsarray : the locations of the exceptions

Field Documentation

$locations = array()

array : Locations to load the classes from

$exceptions = array()

array : Locations to load the exceptions from

$extensions = array()

array : Extensions of the files loaded