updateItem() protected method
Updates an auth item in the RBAC system.
protected boolean updateItem ( $name, $item ) | ||
---|---|---|
$name | string |
The name of the item being updated |
$item | yii\rbac\Item |
The updated item |
return | boolean |
Whether the auth item is successfully updated |
throws | Exception |
if data validation or saving fails (such as the name of the role or permission is not unique) |
Please login to continue.