rbac\DbManager detectLoop()

detectLoop() protected method

Checks whether there is a loop in the authorization item hierarchy.

protected boolean detectLoop ( $parent, $child )
$parent yii\rbac\Item

The parent item

$child yii\rbac\Item

The child item to be added to the hierarchy

return boolean

Whether a loop exists

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

Please login to continue.