eZPublish  3.8
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)
 
 createNew ($policyID, $identifier)
 
 definition ()
 
 eZPolicyLimitation ($row)
 
 fetchByIdentifier ($policyID, $identifier, $asObject=true)
 
 fetchByPolicyID ($policyID, $asObject=true)
 
 findByType ($type, $value, $asObject=true, $useLike=true)
 
 limitArray ()
 
limitValue ()
 
policy ()
 
 remove ($id=false)
 
 removeSelected ($ID)
 
 setAttribute ($attr, $val)
 
valueList ()
 
- 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 ($policyID, $identifier)
 

Public Attributes

 $LimitValue
 

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

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

eZPolicyLimitation::definition ( )
eZPolicyLimitation::eZPolicyLimitation (   $row)

Constructor

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

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

Get limitation array

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

Get policy object of this policy limitation

eZPolicyLimitation::remove (   $id = 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.
eZPolicyLimitation::removeSelected (   $ID)
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: