rbac\ManagerInterface addChild()

addChild() public abstract method

Adds an item as a child of another item.

public abstract boolean addChild ( $parent, $child )
$parent yii\rbac\Item
$child yii\rbac\Item
return boolean

Whether the child successfully added

throws yii\base\Exception

if the parent-child relationship already exists or if a loop has been detected.

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

Please login to continue.