rbac\DbManager removeChildren()

removeChildren() public method Removed all children form their parent. Note, the children items are not deleted. Only the parent-child relationships are removed. public boolean removeChildren ( $parent )$parent yii\rbac\Item return boolean Whether the removal is successful

rbac\DbManager removeChild()

removeChild() public method Removes a child from its parent. Note, the child item is not deleted. Only the parent-child relationship is removed. public boolean removeChild ( $parent, $child )$parent yii\rbac\Item $child yii\rbac\Item return boolean Whether the removal is successful

rbac\DbManager removeAllRules()

removeAllRules() public method Removes all rules. All roles and permissions which have rules will be adjusted accordingly. public void removeAllRules ( )

rbac\DbManager removeAllRoles()

removeAllRoles() public method Removes all roles. All parent child relations will be adjusted accordingly. public void removeAllRoles ( )

rbac\DbManager removeAllPermissions()

removeAllPermissions() public method Removes all permissions. All parent child relations will be adjusted accordingly. public void removeAllPermissions ( )

rbac\DbManager removeAllItems()

removeAllItems() protected method Removes all auth items of the specified type. protected void removeAllItems ( $type )$type integer The auth item type (either Item::TYPE_PERMISSION or Item::TYPE_ROLE)

rbac\DbManager removeAllAssignments()

removeAllAssignments() public method Removes all role assignments. public void removeAllAssignments ( )

rbac\DbManager removeAll()

removeAll() public method Removes all authorization data, including roles, permissions, rules, and assignments. public void removeAll ( )

rbac\DbManager populateItem()

populateItem() protected method Populates an auth item with the data fetched from database protected yii\rbac\Item populateItem ( $row )$row array The data from the auth item table return yii\rbac\Item The populated auth item instance (either Role or Permission)

rbac\DbManager loadFromCache()

loadFromCache() public method public void loadFromCache ( )