models / modules_model.php
ModulesModel
Model
Module management.
public
get_all
(
installed = true, object = false
)
public
get_all
(
installed = true, object = false
)
Get all modules of a certain type.
Parameters
installed |
Installed (TRUE) or available (FALSE) modules. Default TRUE. |
object |
Return as module object or information array. Default FALSE. |
Returns
modules
public
get_installed
(
object = false
)
public
get_installed
(
object = false
)
Get all installed modules.
Parameters
object |
Return as module object or information array. Default FALSE. |
Returns
modules
public
get_not_installed
(
object = false
)
public
get_not_installed
(
object = false
)
Get all available modules.
Parameters
object |
Return as module object or information array. Default FALSE. |
Returns
modules
public
install
(
module_name
)
public
install
(
module_name
)
Install a module.
Parameters
module_name |
Returns
status
public
uninstall
(
module_name
)
public
uninstall
(
module_name
)
Uninstall a module.
Parameters
module_name |
Returns
status