Toggle navigation
Hot Examples
JP
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
検索
Home
yii
rbac
ManagerInterface
getChildRoles
yii\rbac\ManagerInterface::getChildRoles PHP Method
ManagerInterface Interface Documentation
ファイルを表示
Open project: yiisoft/yii2
getChildRoles()
public
method
Returns child roles of the role specified. Depth isn't limited.
Since:
2.0.10
public
getChildRoles
(
string
$roleName
) :
Role[]
$roleName
string
name of the role to file child roles for
return
Role[]
Child roles. The array is indexed by the role names. First element is an instance of the parent Role itself.
public function getChildRoles($roleName);
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