Currency manager class.
@subpackage oxcmp
◆ 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
◆ $_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: