eZPublish  4.4
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)
 
 eZPolicyLimitationValue ($row)
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

static create ($limitationID, $value)
 
static createNew ($limitationID, $value)
 
static definition ()
 
static fetchList ($limitationID, $asObject=true)
 
static removeByValue ($value, $policyID=false)
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Additional Inherited Members

- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

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.
static 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().

static eZPolicyLimitationValue::createNew (   $limitationID,
  $value 
)
static
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(), and processDropdownLimitations().

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

Constructor

Referenced by create(), and createNew().

static eZPolicyLimitationValue::fetchList (   $limitationID,
  $asObject = true 
)
static
static eZPolicyLimitationValue::removeByValue (   $value,
  $policyID = false 
)
static
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: