rbac\PhpManager canAddChild()

canAddChild() public method (available since version 2.0.8)

Checks the possibility of adding a child to parent

public 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:21
Comments
Leave a Comment

Please login to continue.