PHP Class skeeks\cms\filters\CmsAccessControl

Inheritance: extends yii\filters\AccessControl
ファイルを表示 Open project: skeeks-cms/cms Class Usage Examples

Protected Methods

Method Description
denyAccess ( User $user ) Denies the access of the user.

Method Details

denyAccess() protected method

The default implementation will redirect the user to the login page if he is a guest; if the user is already logged, a 403 HTTP exception will be thrown.
protected denyAccess ( User $user )
$user yii\web\User the current user