Class dektrium\user\filters\BackendFilter
Inheritance | dektrium\user\filters\BackendFilter » yii\base\ActionFilter |
---|
BackendFilter is used to allow access only to admin and security controller in frontend when using Yii2-user with Yii2 advanced template.
Public Properties
Property | Type | Description | Defined By |
---|---|---|---|
$controllers | array | dektrium\user\filters\BackendFilter |
Public Methods
Method | Description | Defined By |
---|---|---|
beforeAction() | dektrium\user\filters\BackendFilter |
Property Details
Method Details
public bool beforeAction ( $action ) | ||
$action | \yii\base\Action | |
throws | \yii\web\NotFoundHttpException |
---|