rbac\ManagerInterface canAddChild()

canAddChild() public abstract method (available since version 2.0.8)

Checks the possibility of adding a child to parent

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

The parent item

$child yii\rbac\Item

The child item to be added to the hierarchy

return boolean

Possibility of adding

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

Please login to continue.