eZPublish  3.8
eZWishList Class Reference

eZWishList handles shopping wish lists More...

+ Inheritance diagram for eZWishList:
+ Collaboration diagram for eZWishList:

Public Member Functions

currentWishList ($asObject=true)
 
 definition ()
 
 discountPercent ()
 
 eZWishList ($row)
 
 itemCount ($alternativeProductionID=false)
 
items ($asObject=true, $alternativeProductionID=false, $offset=false, $limit=false)
 
 removeItem ($itemID)
 
- 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

 cleanup ()
 

Detailed Description

eZWishList handles shopping wish lists

See Also
eZProductCollection

Member Function Documentation

eZWishList::cleanup ( )
static

Removes all wishlists from the database.

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.
& eZWishList::currentWishList (   $asObject = true)

Will return the wish list for the current user. If a wish list does not exist one will be created.

Returns
current eZWishList object
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.
eZWishList::definition ( )
Returns
the persistent object definition for the eZCard class.

Referenced by currentWishList(), and eZContentObject\purge().

eZWishList::discountPercent ( )
eZWishList::eZWishList (   $row)

Referenced by currentWishList().

eZWishList::itemCount (   $alternativeProductionID = false)
& eZWishList::items (   $asObject = true,
  $alternativeProductionID = false,
  $offset = false,
  $limit = false 
)
eZWishList::removeItem (   $itemID)
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: