Свойство | Type | Description | |
---|---|---|---|
$prefixes | array | Using this, Autoload can support loading class A_B_C from file folder/C.php (using prefix 'A_B_') instead of just looking for it in the file folder/A/B/C.php. |
Méthode | Description | |
---|---|---|
__construct ( ) : void | Constructor to add the base Phergie path to the include_path. | |
addPath ( string $path, string $prefix = null ) : void | Add a path to the include path. | |
load ( string $class ) : void | Autoload callback for loading class files. | |
registerAutoloader ( ) : void | Registers an instance of this class as an autoloader. |
public __construct ( ) : void | ||
Résultat | void |
public static registerAutoloader ( ) : void | ||
Résultat | void |
protected static array $prefixes | ||
Résultat | array |