removeAllRoles() public method Removes all roles. All parent child relations will be adjusted accordingly. public void removeAllRoles ( )
removeAllRules() public method Removes all rules. All roles and permissions which have rules will be adjusted accordingly. public void removeAllRules ( )
removeAllPermissions() public method Removes all permissions. All parent child relations will be adjusted accordingly. public void removeAllPermissions ( )
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)
removeAllAssignments() public method Removes all role assignments. public void removeAllAssignments ( )
populateItem() protected method Populates an auth item with the data fetched from collection protected yii\rbac\Item populateItem ( $row )$row array The data from the auth item collection return yii\rbac\Item The populated auth item instance (either Role or Permission)
loadFromCache() public method Loads data from cache public void loadFromCache ( )
removeAll() public method Removes all authorization data, including roles, permissions, rules, and assignments. public void removeAll ( )
invalidateCache() public method Invalidates RBAC related cache public void invalidateCache ( )
hasChild() public method Returns a value indicating whether the child already exists for the parent. public boolean hasChild ( $parent, $child )$parent yii\rbac\Item $child yii\rbac\Item return boolean Whether $child is already a child of $parent
Page 193 of 633