eZPublish  3.8
eZMultiPriceData Class Reference
+ Inheritance diagram for eZMultiPriceData:
+ Collaboration diagram for eZMultiPriceData:

Public Member Functions

 changeCurrency ($oldCurrencyCode, $newCurrencyCode, $currentVersionOnly=true)
 
 create ($contentObjectID, $contentObjectVersion, $currencyCode, $value, $type)
 
 definition ()
 
 eZMultiPriceData ($row)
 
 remove ($objectAttributeID, $objectAttributeVersion=null)
 
 removeByID ($id=false)
 
 removePriceListForCurrency ($currencyCodeList, $currentVersionOnly=true)
 
 updateAutoprices ()
 
- 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

 createPriceListForCurrency ($currencyCode)
 
 fetch ($contentAttributeID, $contentObjectVersion, $currencyCode=false, $type=false, $asObjects=true)
 
 fetchDataListWithoutPriceInCurrency ($currencyCode, $limit=false)
 

Member Function Documentation

eZMultiPriceData::changeCurrency (   $oldCurrencyCode,
  $newCurrencyCode,
  $currentVersionOnly = true 
)
eZMultiPriceData::create (   $contentObjectID,
  $contentObjectVersion,
  $currencyCode,
  $value,
  $type 
)
eZMultiPriceData::createPriceListForCurrency (   $currencyCode)
static
eZMultiPriceData::definition ( )

Referenced by fetch(), remove(), and removeByID().

eZMultiPriceData::eZMultiPriceData (   $row)

Referenced by create().

eZMultiPriceData::fetch (   $contentAttributeID,
  $contentObjectVersion,
  $currencyCode = false,
  $type = false,
  $asObjects = true 
)
static

codeList - specifies currencies to fetch. If 'false' then all prices for '$contentAttributeID/$contentObjectVersion' will be retrieved.

Referenced by eZMultiPrice\priceList().

eZMultiPriceData::fetchDataListWithoutPriceInCurrency (   $currencyCode,
  $limit = false 
)
static
eZMultiPriceData::remove (   $objectAttributeID,
  $objectAttributeVersion = null 
)

remove

Referenced by eZMultiPrice\remove().

eZMultiPriceData::removeByID (   $id = false)

removes single record from 'ezmultipricedata' table

eZMultiPriceData::removePriceListForCurrency (   $currencyCodeList,
  $currentVersionOnly = true 
)
eZMultiPriceData::updateAutoprices ( )

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