eZPublish  3.8
eZPolicyLimitationValue Class Reference

Defines a limitation value for a policy in the permission system. More...

+ Inheritance diagram for eZPolicyLimitationValue:
+ Collaboration diagram for eZPolicyLimitationValue:

Public Member Functions

 copy ($limitationID)
 
 createNew ($limitationID, $value)
 
 definition ()
 
 eZPolicyLimitationValue ($row)
 
 fetchList ($limitationID, $asObject=true)
 
 removeByValue ($value, $policyID=false)
 
- Public Member Functions inherited from eZPersistentObject
attribute ($attr, $noFunction=false)
 
 attributes ()
 
 conditionText (&$conditions)
 
conditionTextByRow (&$conditions, &$row)
 
 definition ()
 
escapeArray (&$array)
 
 eZPersistentObject ($row)
 
 fetchObject (&$def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
 fetchObjectList (&$def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null)
 
 fill (&$row)
 
 getShortAttributeName (&$db, &$def, $attrName)
 
 handleRows (&$rows, $class_name, $asObject)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 newObjectOrder (&$def, $orderField, $conditions)
 
 remove ($conditions=null, $extraConditions=null)
 
 removeObject (&$def, $conditions=null, $extraConditions=null)
 
 reorderObject (&$def, $orderField, $conditions, $down=true)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 swapRow ($table, &$keys, &$order_id, &$rows, $id1, $id2)
 
 sync ($fieldFilters=null)
 
 updateObjectList ($parameters)
 

Static Public Member Functions

 create ($limitationID, $value)
 

Detailed Description

Defines a limitation value for a policy in the permission system.

Member Function Documentation

eZPolicyLimitationValue::copy (   $limitationID)
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.
eZPolicyLimitationValue::create (   $limitationID,
  $value 
)
static

Creates a new limitation value for the limitation $limitationID and returns it.

Note
The value is not stored.

Referenced by eZPolicy\appendLimitation().

eZPolicyLimitationValue::createNew (   $limitationID,
  $value 
)
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Referenced by copy().

eZPolicyLimitationValue::definition ( )
eZPolicyLimitationValue::eZPolicyLimitationValue (   $row)

Constructor

Referenced by create(), and createNew().

eZPolicyLimitationValue::fetchList (   $limitationID,
  $asObject = true 
)
eZPolicyLimitationValue::removeByValue (   $value,
  $policyID = false 
)
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

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