ModulesManager
This class enables you to manages the PHPBoost packages which are nothing else than the modules.
public static
Module[string]
|
|
public static
Module[string]
|
|
public static
Module[string]
|
|
public static
Module[string]
|
|
public static
Module[string]
|
|
public static
|
|
public static
string[]
|
|
public static
string[]
|
|
public static
string[]
|
|
public static
|
|
public static
boolean
|
#
is_module_installed( $module_id )
tells whether the requested module is installed (activated or not) |
public static
boolean
|
|
public static
integer
|
#
install_module( string $module_identifier, boolean $enable_module = true, $generate_cache = true )
|
public static
integer
|
|
public static
|
|
public static
|
|
public static
|
|
public static
|
|
public static
string[]
|
boolean |
GENERATE_CACHE_AFTER_THE_OPERATION
|
#
true
|
boolean |
DO_NOT_GENERATE_CACHE_AFTER_THE_OPERATION
|
#
false
|
integer |
MODULE_UNINSTALLED
|
#
0
|
integer |
MODULE_INSTALLED
|
#
1
|
integer |
UNEXISTING_MODULE
|
#
2
|
integer |
MODULE_ALREADY_INSTALLED
|
#
3
|
integer |
CONFIG_CONFLICT
|
#
4
|
integer |
NOT_INSTALLED_MODULE
|
#
5
|
integer |
MODULE_FILES_COULD_NOT_BE_DROPPED
|
#
6
|
integer |
PHP_VERSION_CONFLICT
|
#
7
|
integer |
PHPBOOST_VERSION_CONFLICT
|
#
8
|
integer |
MODULE_NOT_UPGRADABLE
|
#
9
|
integer |
UPGRADE_FAILED
|
#
10
|
integer |
MODULE_UPDATED
|
#
11
|