$name
$name : string
Role name
Acl role class
$parent : \Pop\Acl\Role\Role
Role parent
__construct(string $name, array $data = array()) : \Pop\Acl\Role\AbstractRole
Constructor
Instantiate the acl role object
string | $name | |
array | $data |
setName(string $name) : \Pop\Acl\Role\AbstractRole
Set the acl role name
string | $name |
setData(array $data) : \Pop\Acl\Role\AbstractRole
Set the acl role data
array | $data |
addChild(\Pop\Acl\Role\Role $child) : \Pop\Acl\Role\Role
Add a child role
\Pop\Acl\Role\Role | $child |
setParent(\Pop\Acl\Role\Role $parent) : \Pop\Acl\Role\Role
Set the parent role
\Pop\Acl\Role\Role | $parent |
getParent() : \Pop\Acl\Role\Role
Get the role parent
hasParent() : \Pop\Acl\Role\Role
See if the role has a parent