Class humhub\modules\admin\controllers\IndexController
Inheritance | humhub\modules\admin\controllers\IndexController » humhub\modules\admin\components\Controller » humhub\components\Controller » yii\web\Controller |
---|---|
Available since version | 0.5 |
IndexController is the admin section start point.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$actionTitlesMap | array | Page titles | humhub\components\Controller |
$adminOnly | boolean | If true only allows access for system admins else the access is restricted by getAccessRules() | humhub\modules\admin\controllers\IndexController |
$loggedInOnly | humhub\modules\admin\components\Controller | ||
$pageTitle | string | Title of the rendered page | humhub\components\Controller |
$prependActionTitles | boolean | Append page title | humhub\components\Controller |
$subLayout | null|string | The name of the sub layout to be applied to this controller's views. | humhub\modules\admin\components\Controller |
Protected Properties
Property | Type | Description | Defined By |
---|---|---|---|
$access | string | Defines the ControllerAccess class for this controller responsible for managing access rules | humhub\components\Controller |
Public Methods
Protected Methods
Method | Description | Defined By |
---|---|---|
forbidden() | humhub\components\Controller |
Events
Event | Type | Description | Defined By |
---|---|---|---|
EVENT_INIT | \yii\base\Event | An event raised on init a controller. | humhub\components\Controller |
Property Details
If true only allows access for system admins else the access is restricted by getAccessRules()
Method Details
List all available user groups
public void actionIndex ( ) |
Returns access rules for the standard access control behavior
public array getAccessRules ( ) | ||
return | array | The access permissions |
---|