Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
yii
rbac
BaseManager
updateRule
yii\rbac\BaseManager::updateRule PHP Метод
Документация по классу BaseManager
Показать файл
Открыть проект
updateRule()
абстрактный
защищенный
Метод
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
Результат
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