Digger Class Loader.
More...
|
static | register ($rootPath, $searchList=null) |
|
static | load ($class) |
|
Digger Class Loader.
Spesial auto loader for all Digger components
- Version
- 3.0
- Author
- Digger mrdig.nosp@m.ger@.nosp@m.sad-s.nosp@m.yste.nosp@m.ms.ru
- Copyright
- (c) 2015, SAD-Systems
Example of usage:
require_once 'ClassLoader.php';
Function to load a class
- Parameters
-
string | $class | Class name for class to load. |
- Returns
- boolean TRUE on success.
static register |
( |
|
$rootPath, |
|
|
|
$searchList = null |
|
) |
| |
|
static |
To register autoloader
- Parameters
-
string | $rootPath | Root path to start search the classes |
string Root path to search classes
$searchList = ['lib', 'controllers', 'models'] |
|
static |
array Search list to find classes in specific directories
The documentation for this class was generated from the following file: