eZPublish  4.4
eZPolicyLimitation Class Reference

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

+ Inheritance diagram for eZPolicyLimitation:
+ Collaboration diagram for eZPolicyLimitation:

Public Member Functions

 allValues ()
 
 allValuesAsArrayWithNames ()
 
 allValuesAsString ()
 
 copy ($policyID)
 
 eZPolicyLimitation ($row)
 
 limitArray ()
 
 limitValue ()
 
 policy ()
 
 removeThis ()
 
 setAttribute ($attr, $val)
 
 valueList ()
 
- 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 ($policyID, $identifier)
 
static createNew ($policyID, $identifier)
 
static definition ()
 
static fetchByIdentifier ($policyID, $identifier, $asObject=true)
 
static fetchByPolicyID ($policyID, $asObject=true)
 
static findByType ($type, $value, $asObject=true, $useLike=true)
 
static removeByID ($id)
 
static removeSelected ($ID)
 
- 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)
 

Public Attributes

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

Detailed Description

Defines a limitation for a policy in the permission system.

Member Function Documentation

eZPolicyLimitation::allValues ( )
eZPolicyLimitation::allValuesAsArrayWithNames ( )
eZPolicyLimitation::allValuesAsString ( )
eZPolicyLimitation::copy (   $policyID)
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 eZPolicyLimitation::create (   $policyID,
  $identifier 
)
static

Create a new policy limitation for the policy $policyID with the identifier $identifier.

Note
The limitation is not stored.

Referenced by eZPolicy\appendLimitation().

static eZPolicyLimitation::createNew (   $policyID,
  $identifier 
)
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 eZPolicyLimitation::definition ( )
static
eZPolicyLimitation::eZPolicyLimitation (   $row)

Constructor

Referenced by create(), createNew(), and findByType().

static eZPolicyLimitation::fetchByIdentifier (   $policyID,
  $identifier,
  $asObject = true 
)
static
static eZPolicyLimitation::fetchByPolicyID (   $policyID,
  $asObject = true 
)
static
static eZPolicyLimitation::findByType (   $type,
  $value,
  $asObject = true,
  $useLike = true 
)
static
eZPolicyLimitation::limitArray ( )

Get limitation array

Returns
access limitation array
eZPolicyLimitation::limitValue ( )
eZPolicyLimitation::policy ( )

Get policy object of this policy limitation

static eZPolicyLimitation::removeByID (   $id)
static
See Also
removeThis

Referenced by removeThis().

static eZPolicyLimitation::removeSelected (   $ID)
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.
eZPolicyLimitation::removeThis ( )
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.
eZPolicyLimitation::setAttribute (   $attr,
  $val 
)
eZPolicyLimitation::valueList ( )

Member Data Documentation

eZPolicyLimitation::$LimitValue

Referenced by limitValue().


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