eZPublishCommunityProject  2013.9
eZ\Publish\Core\Repository\Values\User\UserRoleAssignment Class Reference

This class represents a user to role assignment. More...

+ Inheritance diagram for eZ\Publish\Core\Repository\Values\User\UserRoleAssignment:
+ Collaboration diagram for eZ\Publish\Core\Repository\Values\User\UserRoleAssignment:

Public Member Functions

 getRole ()
 Returns the role to which the user is assigned to. More...
 
 getRoleLimitation ()
 Returns the limitation of the user role assignment. More...
 
 getUser ()
 Returns the user to which the role is assigned to. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\User\UserRoleAssignment
 getUser ()
 Returns the user to which the role is assigned to. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\User\RoleAssignment
 getRole ()
 Returns the role to which the user or user group is assigned to. More...
 
 getRoleLimitation ()
 Returns the limitation of the role assignment. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 __construct (array $properties=array())
 Construct object optionally with a set of properties. More...
 
 __get ($property)
 Magic get function handling read to non public properties. More...
 
 __isset ($property)
 Magic isset function handling isset() to non public properties. More...
 
 __set ($property, $value)
 Magic set function handling writes to non public properties. More...
 
 __unset ($property)
 Magic unset function handling unset() to non public properties. More...
 
 attribute ($property)
 Internal function for Legacy template engine compatibility to get property value. More...
 
 attributes ()
 Internal function for Legacy template engine compatibility to get properties. More...
 
 hasAttribute ($property)
 Internal function for Legacy template engine compatibility to check existence of property. More...
 

Protected Attributes

 $limitation
 
 $role
 
 $user
 

Additional Inherited Members

- Static Public Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
static __set_state (array $array)
 Returns a new instance of this class with the data specified by $array. More...
 
- Protected Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 getProperties ($dynamicProperties=array())
 Function where list of properties are returned. More...
 

Detailed Description

This class represents a user to role assignment.

Member Function Documentation

eZ\Publish\Core\Repository\Values\User\UserRoleAssignment::getRole ( )

Returns the role to which the user is assigned to.

Returns
eZ\Publish\Core\Repository\Values\User\UserRoleAssignment::getRoleLimitation ( )

Returns the limitation of the user role assignment.

Returns
|null
eZ\Publish\Core\Repository\Values\User\UserRoleAssignment::getUser ( )

Returns the user to which the role is assigned to.

Returns

Member Data Documentation

eZ\Publish\Core\Repository\Values\User\UserRoleAssignment::$limitation
protected
eZ\Publish\Core\Repository\Values\User\UserRoleAssignment::$role
protected
eZ\Publish\Core\Repository\Values\User\UserRoleAssignment::$user
protected

The documentation for this class was generated from the following file: