eZPublish  3.8
eZDiscountSubRuleValue Class Reference

The class eZDiscountSubRuleValue does. More...

+ Inheritance diagram for eZDiscountSubRuleValue:
+ Collaboration diagram for eZDiscountSubRuleValue:

Public Member Functions

 create ($discountSubRuleID, $value, $isSection=false)
 
 definition ()
 
 eZDiscountSubRuleValue ($row)
 
 fetchBySubRuleID ($discountSubRuleID, $isSection=0, $asObject=true)
 
fetchList ($asObject=true)
 
 remove ($discountSubRuleID, $value, $isSection)
 
 removeBySubRuleID ($discountSubRuleID)
 
- 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)
 

Detailed Description

The class eZDiscountSubRuleValue does.

Member Function Documentation

eZDiscountSubRuleValue::create (   $discountSubRuleID,
  $value,
  $isSection = false 
)
eZDiscountSubRuleValue::definition ( )
eZDiscountSubRuleValue::eZDiscountSubRuleValue (   $row)

Constructor

Referenced by create().

eZDiscountSubRuleValue::fetchBySubRuleID (   $discountSubRuleID,
  $isSection = 0,
  $asObject = true 
)
& eZDiscountSubRuleValue::fetchList (   $asObject = true)
eZDiscountSubRuleValue::remove (   $discountSubRuleID,
  $value,
  $isSection 
)
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.
eZDiscountSubRuleValue::removeBySubRuleID (   $discountSubRuleID)
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: