Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
yii
rbac
ManagerInterface
hasChild
yii\rbac\ManagerInterface::hasChild PHP Method
ManagerInterface Interface Documentation
Datei anzeigen
Open project: yiisoft/yii2
hasChild()
public
method
Returns a value indicating whether the child already exists for the parent.
public
hasChild
(
Item
$parent
,
Item
$child
) :
boolean
$parent
Item
$child
Item
return
boolean
whether `$child` is already a child of `$parent`
public function hasChild($parent, $child);
ManagerInterface
add
addChild
assign
canAddChild
createPermission
createRole
getAssignment
getAssignments
getChildRoles
getChildren
getPermission
getPermissions
getPermissionsByRole
getPermissionsByUser
getRole
getRoles
getRolesByUser
getRule
getRules
getUserIdsByRole
hasChild
remove
removeAll
removeAllAssignments
removeAllPermissions
removeAllRoles
removeAllRules
removeChild
removeChildren
revoke
revokeAll
update