Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
rbac
BaseManager
updateRule
yii\rbac\BaseManager::updateRule PHP Method
BaseManager Class Documentation
Datei anzeigen
Open project: yiisoft/yii2
updateRule()
abstract
protected
method
Updates a rule to the RBAC system.
abstract
protected
updateRule
(
string
$name
,
Rule
$rule
) :
boolean
$name
string
the name of the rule being updated
$rule
Rule
the updated rule
return
boolean
whether the rule is successfully updated
protected abstract function updateRule($name, $rule);
BaseManager
add
addItem
addRule
createPermission
createRole
executeRule
getItem
getItems
getPermission
getPermissions
getRole
getRoles
remove
removeItem
removeRule
update
updateItem
updateRule