Class app\modules\main\rbac\CreateRule

Inheritanceapp\modules\main\rbac\CreateRule » yii\rbac\Rule

Class CreateRule Проверка прав на создание модели

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$name app\modules\main\rbac\CreateRule

Public Methods

Hide inherited methods

MethodDescriptionDefined By
execute() app\modules\main\rbac\CreateRule

Property Details

$name public property
$name 'canCreate'

Method Details

execute() public method

void execute$user$item$params )
$user
$item
$params