![]() |
|
Manages the config file, loads required classes and parses the url. More...
Public Member Functions | |
Loader ($locations) | |
callUrl () | |
Data Fields | |
$url = '' | |
$config = null | |
$locations = array() | |
$debug | |
$error | |
$autoload | |
$required_version = '5.2.4' | |
Manages the config file, loads required classes and parses the url.
This is the main Dispersion Loader, where all modules and components are loaded.
Loader | ( | $locations | ) |
Constructor
array | $locations | : locations to autoload the classes from |
callUrl | ( | ) |
Parses the url and calls the given method
$url = '' |
string : Url of the current page
$locations = array() |
array : Locations for the frameworks files
$debug |
Debug : Object used for displaying errors, exceptions and debugging information
$error |
Error : Object for handling errors
$autoload |
Autoload : Object for handling class autoload
$required_version = '5.2.4' |
string : Minimum required version of php