eZPublish  3.8
eZProductCollectionItemOption Class Reference

The class eZProductCollectionItemOption does. More...

+ Inheritance diagram for eZProductCollectionItemOption:
+ Collaboration diagram for eZProductCollectionItemOption:

Public Member Functions

 clone ()
 
copy ($collectionItemID)
 
 create ($productCollectionItemID, $optionItemID, $optionName, $optionValue, $optionPrice, $attributeID)
 
 definition ()
 
 eZProductCollectionItemOption ($row)
 
 fetchList ($productCollectionItemID, $asObject=true)
 
- 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

 cleanupList ($itemIDList)
 

Detailed Description

Member Function Documentation

eZProductCollectionItemOption::cleanupList (   $itemIDList)
static

Removes all product collections options which are related to the collection items specified in the array $itemIDList.

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 eZProductCollectionItem\cleanupList(), and eZDBGarbageCollector\collectProductCollectionItems().

eZProductCollectionItemOption::clone ( )

Clones the collection item option object and returns it. The ID of the clone is erased.

Referenced by copy().

& eZProductCollectionItemOption::copy (   $collectionItemID)

Copies the collection object item option, the new copy will point to the collection item $collectionItemID.

Returns
the new collection item option object.
Note
The new collection item option will already be present in the database.
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.
eZProductCollectionItemOption::create (   $productCollectionItemID,
  $optionItemID,
  $optionName,
  $optionValue,
  $optionPrice,
  $attributeID 
)
eZProductCollectionItemOption::definition ( )

Referenced by fetchList().

eZProductCollectionItemOption::eZProductCollectionItemOption (   $row)

Constructor

Referenced by create().

eZProductCollectionItemOption::fetchList (   $productCollectionItemID,
  $asObject = true 
)

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