eZPublish  3.8
eZDiscountSubRule Class Reference

The class eZDiscountSubRule does. More...

+ Inheritance diagram for eZDiscountSubRule:
+ Collaboration diagram for eZDiscountSubRule:

Public Member Functions

 create ($discountRuleID)
 
 definition ()
 
 eZDiscountSubRule ($row)
 
 fetch ($id, $asObject=true)
 
 fetchByRuleID ($discountRuleID, $asObject=true)
 
fetchList ($asObject=true)
 
 remove ($id)
 
 setAttribute ($attr, $val)
 
- 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 eZDiscountSubRule does.

Member Function Documentation

eZDiscountSubRule::create (   $discountRuleID)
eZDiscountSubRule::definition ( )
eZDiscountSubRule::eZDiscountSubRule (   $row)

Constructor

Referenced by create().

eZDiscountSubRule::fetch (   $id,
  $asObject = true 
)
eZDiscountSubRule::fetchByRuleID (   $discountRuleID,
  $asObject = true 
)
& eZDiscountSubRule::fetchList (   $asObject = true)
eZDiscountSubRule::remove (   $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.
eZDiscountSubRule::setAttribute (   $attr,
  $val 
)

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