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

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

Protected Properties

Property Type Description
$limitation eZ\Publish\API\Repository\Values\User\Limitation\RoleLimitation | null the limitation of this role assignment.
$role eZ\Publish\API\Repository\Values\User\Role the role which is assigned to the user.
$user eZ\Publish\API\Repository\Values\User\User user to which the role is assigned to.

Public Methods

Method Description
getRole ( ) : eZ\Publish\API\Repository\Values\User\Role Returns the role to which the user is assigned to.
getRoleLimitation ( ) : eZ\Publish\API\Repository\Values\User\Limitation\RoleLimitation | null Returns the limitation of the user role assignment.
getUser ( ) : eZ\Publish\API\Repository\Values\User\User Returns the user to which the role is assigned to.

Method Details

getRole() public method

Returns the role to which the user is assigned to.
public getRole ( ) : eZ\Publish\API\Repository\Values\User\Role
return eZ\Publish\API\Repository\Values\User\Role

getRoleLimitation() public method

Returns the limitation of the user role assignment.
public getRoleLimitation ( ) : eZ\Publish\API\Repository\Values\User\Limitation\RoleLimitation | null
return eZ\Publish\API\Repository\Values\User\Limitation\RoleLimitation | null

getUser() public method

Returns the user to which the role is assigned to.
public getUser ( ) : eZ\Publish\API\Repository\Values\User\User
return eZ\Publish\API\Repository\Values\User\User

Property Details

$limitation protected property

the limitation of this role assignment.
protected RoleLimitation,eZ\Publish\API\Repository\Values\User\Limitation|null $limitation
return eZ\Publish\API\Repository\Values\User\Limitation\RoleLimitation | null

$role protected property

the role which is assigned to the user.
protected Role,eZ\Publish\API\Repository\Values\User $role
return eZ\Publish\API\Repository\Values\User\Role

$user protected property

user to which the role is assigned to.
protected User,eZ\Publish\API\Repository\Values\User $user
return eZ\Publish\API\Repository\Values\User\User