eZPublish  3.9
eZShopFunctions Class Reference

Public Member Functions

 changeCurrency ($oldCurrencyCode, $newCurrencyCode)
 
 convertAdditionalPrice ($toCurrency, $value)
 
 eZShopFunctions ()
 
 isMultiPriceClass (&$contentClass)
 
 isMultiPriceProductType ($type)
 
 isSimplePriceClass (&$contentClass)
 
 isSimplePriceProductType ($type)
 
 priceAttribute (&$productClass)
 
 priceAttributeIdentifier (&$productClass)
 
 productClassList ()
 
 removeCurrency ($currencyCodeList)
 
 updateAutoprices ()
 
 updateAutoRates ()
 

Static Public Member Functions

 createCurrency ($currencyParams)
 
 getPreferredUserCountry ()
 
 getUserCountry ()
 
 isPreferredCurrencyValid ($currencyCode=false)
 
 isProductClass (&$contentClass)
 
 isProductDatatype ($dataTypeString)
 
 isProductObject (&$contentObject)
 
 preferredCurrencyCode ()
 
 productDatatypeStringList ()
 
 productTypeByClass (&$contentClass)
 
 productTypeByObject (&$contentObject)
 
 setPreferredCurrencyCode ($currencyCode)
 
 setPreferredUserCountry ($country)
 

Member Function Documentation

eZShopFunctions::changeCurrency (   $oldCurrencyCode,
  $newCurrencyCode 
)
eZShopFunctions::convertAdditionalPrice (   $toCurrency,
  $value 
)
eZShopFunctions::createCurrency (   $currencyParams)
static
eZShopFunctions::eZShopFunctions ( )
eZShopFunctions::getPreferredUserCountry ( )
static

Get country stored in user preferences.

Referenced by eZShopFunctionCollection\fetchUserCountry(), and eZVATManager\getUserCountry().

eZShopFunctions::getUserCountry ( )
static

Get country stored in user object.

Referenced by eZShopFunctionCollection\fetchUserCountry().

eZShopFunctions::isMultiPriceClass ( $contentClass)
eZShopFunctions::isMultiPriceProductType (   $type)

Referenced by isMultiPriceClass().

eZShopFunctions::isPreferredCurrencyValid (   $currencyCode = false)
static
eZShopFunctions::isProductClass ( $contentClass)
static

Referenced by productClassList().

eZShopFunctions::isProductObject ( $contentObject)
static
eZShopFunctions::isSimplePriceClass ( $contentClass)
eZShopFunctions::isSimplePriceProductType (   $type)
eZShopFunctions::priceAttribute ( $productClass)
eZShopFunctions::priceAttributeIdentifier ( $productClass)
eZShopFunctions::productClassList ( )
eZShopFunctions::productDatatypeStringList ( )
static

Referenced by isProductDatatype().

eZShopFunctions::productTypeByClass ( $contentClass)
static
eZShopFunctions::productTypeByObject ( $contentObject)
static
eZShopFunctions::removeCurrency (   $currencyCodeList)
eZShopFunctions::setPreferredCurrencyCode (   $currencyCode)
static
eZShopFunctions::setPreferredUserCountry (   $country)
static

Store country to user preferences.

Referenced by eZShopFunctionCollection\fetchUserCountry().

eZShopFunctions::updateAutoprices ( )
eZShopFunctions::updateAutoRates ( )

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