Dotclear 2.24
Loading...
Searching...
No Matches
Autoload Class Reference

Public Member Functions

 __construct ()
 
 loadClass (string $name)
 
 add (array $stack)
 
 source (string $class)
 

Data Fields

 $stack = []
 

Constructor & Destructor Documentation

◆ __construct()

__construct ( )

References $stack.

Member Function Documentation

◆ loadClass()

loadClass ( string  $name)

◆ add()

add ( array  $stack)

Add class(es) to autoloader stack

Parameters
array$stackArray of class => file (strings)

References $stack.

◆ source()

source ( string  $class)

Get the source file of a registered class

Parameters
string$classThe class
Returns
mixed source file of class, false is not set

Field Documentation

◆ $stack

$stack = []

Referenced by __construct(), and add().


The documentation for this class was generated from the following file: