Class humhub\modules\admin\commands\ModuleController

Inheritancehumhub\modules\admin\commands\ModuleController » yii\console\Controller
Available since version0.5

HumHub Module Managament

Method Details

actionDisable() public method

Disables an enabled module

public integer actionDisable ( $moduleId )
$moduleId string

The module id

return integer

The exit code

actionEnable() public method

Enables an installed module

public integer actionEnable ( $moduleId )
$moduleId string

The module id

return integer

The exit code

actionInstall() public method

Installs a given module.

public void actionInstall ( $moduleId )
$moduleId string
throws \humhub\modules\admin\commands\CHttpException
actionList() public method

Lists all installed and enabled modules.

public void actionList ( )
actionListOnline() public method

Lists all online available modules.

public void actionListOnline ( )
throws \humhub\modules\admin\commands\CHttpException
actionRemove() public method

Uninstalls a given module.

public void actionRemove ( $moduleId )
$moduleId string
actionUpdate() public method

Updates a module

public void actionUpdate ( $moduleId )
$moduleId string
actionUpdateAll() public method

Updates all modules to the latest available version.

public void actionUpdateAll ( )