rbac\PhpManager removeItem()

removeItem() public method

Removes an auth item from the RBAC system.

public boolean removeItem ( $item )
$item yii\rbac\Item

The item to remove

return boolean

Whether the role or permission is successfully removed

throws Exception

if data validation or saving fails (such as the name of the role or permission is not unique)

doc_Yii
2016-10-30 17:10:31
Comments
Leave a Comment

Please login to continue.