Public Member Functions | |
init () | |
render () | |
Public Attributes | |
$aCurrencies = null | |
Protected Attributes | |
$_oActCur = null | |
$_blIsComponent = true |
oxcmp_cur.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().
Reimplemented from oxView.
oxcmp_cur.render | ( | ) |
Executes parent.render(), passes currency object to template engine and returns currencies array.
Template variables: currency
Reimplemented from oxView.
oxcmp_cur.$aCurrencies = null |
oxcmp_cur.$_oActCur = null [protected] |
oxcmp_cur.$_blIsComponent = true [protected] |
Reimplemented from oxView.