Class humhub\modules\ui\commands\ThemeController

Inheritancehumhub\modules\ui\commands\ThemeController » yii\console\Controller
Available since version1.3.3

Theme Tools

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$defaultAction {@inheritdoc} humhub\modules\ui\commands\ThemeController

Public Methods

Hide inherited methods

MethodDescriptionDefined By
actionInfo() Shows all available and active themes humhub\modules\ui\commands\ThemeController
actionSwitch() Switches the current theme humhub\modules\ui\commands\ThemeController

Property Details

$defaultAction public property
public $defaultAction 'info'

Method Details

actionInfo() public method

Shows all available and active themes

public integer actionInfo ( )
throws Exception
actionSwitch() public method

Switches the current theme

public integer actionSwitch ( $name )
$name string

The theme name

return integer

The exit code