Toggle navigation
Hot Examples
PT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Pesquisar
Página Inicial
yii
rbac
BaseManager
addRule
yii\rbac\BaseManager::addRule PHP Method
BaseManager Class Documentation
Exibir arquivo
Open project: yiisoft/yii2
addRule()
abstract
protected
method
Adds a rule to the RBAC system.
abstract
protected
addRule
(
Rule
$rule
) :
boolean
$rule
Rule
the rule to add
return
boolean
whether the rule is successfully added to the system
protected abstract function addRule($rule);
BaseManager
add
addItem
addRule
createPermission
createRole
executeRule
getItem
getItems
getPermission
getPermissions
getRole
getRoles
remove
removeItem
removeRule
update
updateItem
updateRule