eZPublish  4.7
eZShopFunctions Class Reference

Public Member Functions

 eZShopFunctions ()
 

Static Public Member Functions

static changeCurrency ($oldCurrencyCode, $newCurrencyCode)
 
static convertAdditionalPrice ($toCurrency, $value)
 
static createCurrency ($currencyParams)
 
static getPreferredUserCountry ()
 
static getUserCountry ()
 
static isMultiPriceClass ($contentClass)
 
static isMultiPriceProductType ($type)
 
static isPreferredCurrencyValid ($currencyCode=false)
 
static isProductClass ($contentClass)
 
static isProductDatatype ($dataTypeString)
 
static isProductObject ($contentObject)
 
static isSimplePriceClass ($contentClass)
 
static isSimplePriceProductType ($type)
 
static preferredCurrencyCode ()
 
static priceAttribute ($productClass)
 
static priceAttributeIdentifier ($productClass)
 
static productClassList ()
 
static productDatatypeStringList ()
 
static productTypeByClass ($contentClass)
 
static productTypeByObject ($contentObject)
 
static removeCurrency ($currencyCodeList)
 
static setPreferredCurrencyCode ($currencyCode)
 
static setPreferredUserCountry ($country)
 
static updateAutoprices ()
 
static updateAutoRates ()
 

Member Function Documentation

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

Get country stored in user preferences.

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

static eZShopFunctions::getUserCountry ( )
static

Get country stored in user object.

Referenced by eZShopFunctionCollection\fetchUserCountry().

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

Referenced by isMultiPriceClass().

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

Referenced by productClassList().

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

Referenced by isProductDatatype().

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

Store country to user preferences.

Referenced by eZShopFunctionCollection\fetchUserCountry().

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

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