Class humhub\modules\marketplace\commands\MarketplaceController

Inheritancehumhub\modules\marketplace\commands\MarketplaceController » 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 \yii\base\ErrorException
throws \yii\base\Exception
throws \yii\base\InvalidConfigException
throws \yii\web\HttpException
actionList() public method

Lists all installed and enabled modules.

public void actionList ( )
throws \yii\base\Exception
actionListOnline() public method

Lists all online available modules.

public void actionListOnline ( )
actionRemove() public method

Uninstalls a given module.

public void actionRemove ( $moduleId )
$moduleId string
throws \yii\base\ErrorException
throws \yii\base\Exception
actionUpdate() public method

Updates a module

public void actionUpdate ( $moduleId )
$moduleId string
throws \yii\base\Exception
actionUpdateAll() public method

Updates all modules to the latest available version.

public void actionUpdateAll ( )