Public Member Functions | |
| __construct (&$context) | |
| install ($modulename) | |
| listAvailableModules () | |
| getModuleFromId ($id) | |
| __get ($key) | |
Static Public Member Functions | |
| static | isInstalling () |
Private Member Functions | |
| loadModuleFile ($path) | |
| loadModule ($path, $module) | |
Private Attributes | |
| $context | |
| $modules = array() | |
Static Private Attributes | |
| static | $installing = false |
Container all modules. Allow module managment
Definition at line 9 of file ModuleManager.php.
| __construct | ( | & | $context | ) |
| \Tool\Context | $context | Load all active modules from database. Enable hooks for these modules Disable them if the module cannot be loaded |
Definition at line 43 of file ModuleManager.php.
| __get | ( | $key | ) |
| getModuleFromId | ( | $id | ) |
| int | $id |
Definition at line 154 of file ModuleManager.php.
| install | ( | $modulename | ) |
| string | $modulename |
Definition at line 103 of file ModuleManager.php.
|
static |
Definition at line 167 of file ModuleManager.php.
| listAvailableModules | ( | ) |
Definition at line 135 of file ModuleManager.php.
|
private |
| string | $path | path to module's main file |
| \Entity\Module | $module | module's database object to load /core/models/Module.php |
Definition at line 88 of file ModuleManager.php.
|
private |
| string | $path |
Definition at line 69 of file ModuleManager.php.
|
private |
/core/tools/Context.php Contains website's informations
Definition at line 16 of file ModuleManager.php.
|
staticprivate |
Definition at line 29 of file ModuleManager.php.
|
private |
Definition at line 24 of file ModuleManager.php.
1.8.8