PHP Class eZ\Publish\Core\Repository\Values\User\RoleDraft

Inheritance: extends eZ\Publish\API\Repository\Values\User\RoleDraft
Show file Open project: ezsystems/ezpublish-kernel

Protected Properties

Property Type Description
$innerRole eZ\Publish\API\Repository\Values\User\Role Holds internal role object.

Public Methods

Method Description
__get ( string $property ) : mixed Magic getter for routing get calls to innerRole.
__isset ( string $property ) : boolean Magic isset for routing isset calls to innerRole.
__set ( string $property, mixed $propertyValue ) Magic set for routing set calls to innerRole.
getPolicies ( ) : eZ\Publish\API\Repository\Values\User\PolicyDraft[] Returns the list of policies of this role.

Method Details

__get() public method

Magic getter for routing get calls to innerRole.
public __get ( string $property ) : mixed
$property string The name of the property to retrieve
return mixed

__isset() public method

Magic isset for routing isset calls to innerRole.
public __isset ( string $property ) : boolean
$property string
return boolean

__set() public method

Magic set for routing set calls to innerRole.
public __set ( string $property, mixed $propertyValue )
$property string
$propertyValue mixed

getPolicies() public method

Returns the list of policies of this role.
public getPolicies ( ) : eZ\Publish\API\Repository\Values\User\PolicyDraft[]
return eZ\Publish\API\Repository\Values\User\PolicyDraft[]

Property Details

$innerRole protected property

Holds internal role object.
protected Role,eZ\Publish\API\Repository\Values\User $innerRole
return eZ\Publish\API\Repository\Values\User\Role