OXID eShop CE  6.3.1
OxidEsales\EshopCommunity\Application\Component\CurrencyComponent Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Component\CurrencyComponent:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Component\CurrencyComponent:

Public Member Functions

 init ()
 
 render ()
 

Public Attributes

 $aCurrencies = null
 

Protected Attributes

 $_oActCur = null
 
 $_blIsComponent = true
 

Detailed Description

Currency manager class.

@subpackage oxcmp

Member Function Documentation

◆ init()

OxidEsales\EshopCommunity\Application\Component\CurrencyComponent::init ( )

Checks for currency parameter set in URL, session or post variables. If such were found - loads all currencies possible in shop, searches if passed is available (if no - default currency is set the first defined in admin). Then sets currency parameter so session ($myConfig->setActShopCurrency($iCur)), loads basket and forces ir to recalculate (oBasket->blCalcNeeded = true). Finally executes parent::init().

Returns
null

◆ render()

OxidEsales\EshopCommunity\Application\Component\CurrencyComponent::render ( )

Executes parent::render(), passes currency object to template engine and returns currencies array.

Template variables: currency

Returns
array

Member Data Documentation

◆ $_blIsComponent

OxidEsales\EshopCommunity\Application\Component\CurrencyComponent::$_blIsComponent = true
protected

◆ $_oActCur

OxidEsales\EshopCommunity\Application\Component\CurrencyComponent::$_oActCur = null
protected

◆ $aCurrencies

OxidEsales\EshopCommunity\Application\Component\CurrencyComponent::$aCurrencies = null

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