Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
yii
rbac
ManagerInterface
canAddChild
yii\rbac\ManagerInterface::canAddChild PHP Méthode
ManagerInterface Interface Documentation
Afficher le fichier
Open project: yiisoft/yii2
canAddChild()
public
méthode
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
Résultat
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