Public Member Functions | |
| __construct () | |
| __get ($key) | |
Private Attributes | |
| $hookManager | |
| $moduleManager | |
| $router | |
| $cart | |
| $user | |
| $controller | |
Cms context Contains all website informations Will be passed to themes files and to modules
Definition at line 10 of file Context.php.
| __construct | ( | ) |
Create context from $_SERVER environment and initialize all data
Definition at line 65 of file Context.php.
| __get | ( | $key | ) |
|
private |
TODO
/core/tools/Cart.php Not defined yet Can be accessed read-only via $instance->cart
Definition at line 44 of file Context.php.
|
private |
/core/tools/AController.php Controller being called by user's request
Definition at line 59 of file Context.php.
|
private |
/core/tools/Hooks.php allow triggering hooks and registers module's endpoints Can be accessed read-only via $instance->hookManager
Definition at line 18 of file Context.php.
|
private |
/core/tools/ModuleManager.php load all active modules and contains informations about them Can be accessed read-only via $instance->moduleManager
Definition at line 26 of file Context.php.
|
private |
/core/tools/Router.php Contains information about directories and paths Allow user to generate links Can be accessed read-only via $instance->router
Definition at line 35 of file Context.php.
|
private |
TODO
/core/tools/User.php Can be accessed read-only via $instance->user
Definition at line 52 of file Context.php.
1.8.8