Class humhub\modules\admin\components\Controller
Base controller for administration section
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\components\Controller |
$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()
The name of the sub layout to be applied to this controller's views. This property mainly affects the behavior of \humhub\modules\admin\components\render().
Method Details
public void behaviors ( ) |
Returns access rules for the standard access control behavior
public array getAccessRules ( ) | ||
return | array | The access permissions |
---|
public void init ( ) |