Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
yii
rbac
ManagerInterface
canAddChild
yii\rbac\ManagerInterface::canAddChild PHP Method
ManagerInterface Interface Documentation
Mostra file
Open project: yiisoft/yii2
canAddChild()
public
method
Checks the possibility of adding a child to parent
Since:
2.0.8
public
canAddChild
(
Item
$parent
,
Item
$child
) :
boolean
$parent
Item
the parent item
$child
Item
the child item to be added to the hierarchy
return
boolean
possibility of adding
public function canAddChild($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