eZPublishCommunityProject  2013.5
eZ\Publish\Core\REST\Client\Values\User\PolicyCreateStruct Class Reference

Implementation of the eZ\Publish\API\Repository\Values\User\PolicyCreateStructclass. More...

+ Inheritance diagram for eZ\Publish\Core\REST\Client\Values\User\PolicyCreateStruct:
+ Collaboration diagram for eZ\Publish\Core\REST\Client\Values\User\PolicyCreateStruct:

Public Member Functions

 __construct ($module, $function)
 Instantiates a policy create struct. More...
 
 addLimitation (Limitation $limitation)
 Adds a limitation with the given identifier and list of values. More...
 
 getLimitations ()
 Returns list of limitations added to policy. More...
 
- Public Member Functions inherited from eZ\Publish\API\Repository\Values\User\PolicyCreateStruct
 addLimitation (Limitation $limitation)
 Adds a limitation with the given identifier and list of values. More...
 
 getLimitations ()
 Returns list of limitations added to policy. 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

 $limitations = array()
 

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...
 
- Public Attributes inherited from eZ\Publish\API\Repository\Values\User\PolicyCreateStruct
 $function
 
 $module
 
- Protected Member Functions inherited from eZ\Publish\API\Repository\Values\ValueObject
 getProperties ($dynamicProperties=array())
 Function where list of properties are returned. More...
 

Detailed Description

Implementation of the eZ\Publish\API\Repository\Values\User\PolicyCreateStructclass.

See Also

Constructor & Destructor Documentation

eZ\Publish\Core\REST\Client\Values\User\PolicyCreateStruct::__construct (   $module,
  $function 
)

Instantiates a policy create struct.

Parameters
string$module
string$function

Member Function Documentation

eZ\Publish\Core\REST\Client\Values\User\PolicyCreateStruct::addLimitation ( Limitation  $limitation)

Adds a limitation with the given identifier and list of values.

Parameters
\eZ\Publish\API\Repository\Values\User\Limitation$limitation
Returns
void
eZ\Publish\Core\REST\Client\Values\User\PolicyCreateStruct::getLimitations ( )

Returns list of limitations added to policy.

Returns
[]

Member Data Documentation

eZ\Publish\Core\REST\Client\Values\User\PolicyCreateStruct::$limitations = array()
protected

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