OXID eShop CE  4.10.2
 All Classes Namespaces Files Functions Variables Pages
oxcmp_cur Class Reference
+ Inheritance diagram for oxcmp_cur:
+ Collaboration diagram for oxcmp_cur:

Public Member Functions

 init ()
 render ()
- Public Member Functions inherited from oxView
 setViewParameters ($aParams=null)
 getViewParameter ($sKey)
 setIsCallForCache ($blIsCallForCache=null)
 getIsCallForCache ()
 getViewId ()
 addGlobalParams ($oShop=null)
 addTplParam ($sPara, $sValue)
 getBelboonParam ()
 getViewConfig ()
 getTemplateName ()
 setTemplateName ($sTemplate)
 setClassName ($sClassName)
 getClassName ()
 setFncName ($sFncName)
 getFncName ()
 setViewData ($aViewData=null)
 getViewData ()
 getViewDataElement ($sParamId=null)
 setClassLocation ($sClassLocation=null)
 getClassLocation ()
 setThisAction ($sThisAction=null)
 getThisAction ()
 setParent ($oParent=null)
 getParent ()
 setIsComponent ($blIsComponent=null)
 getIsComponent ()
 executeFunction ($sFunction)
 getAdditionalParams ()
 getTrustedShopId ()
 getTSExcellenceId ()
 getCharSet ()
 getShopVersion ()
 getShopEdition ()
 getRevision ()
 getPackageInfo ()
 getShopFullEdition ()
 isDemoVersion ()
 isBetaVersion ()
 isRCVersion ()
 showBetaNote ()
 isDemoShop ()
 showNewsletter ()
 setShowNewsletter ($blShow)
 getShopLogo ()
 setShopLogo ($sLogo)
 getActCategory ()
 setActCategory ($oCategory)
 getCategoryId ()
 setCategoryId ($sCategoryId)
 getErrorDestination ()
 getActionClassName ()
 isConnectedWithFb ()
 getFbUserId ()
 showFbConnectToAccountMsg ()
 isMall ()
 showRdfa ()
 getSidForWidget ()
- Public Member Functions inherited from oxSuperCfg
 __call ($sMethod, $aArgs)
 __construct ()
 getConfig ()
 setConfig ($oConfig)
 getSession ()
 setSession ($oSession)
 getUser ()
 setUser ($oUser)
 isAdmin ()
 setAdminMode ($blAdmin)

Public Attributes

 $aCurrencies = null

Protected Attributes

 $_oActCur = null
 $_blIsComponent = true
- Protected Attributes inherited from oxView
 $_aViewData = array()
 $_sClassLocation = null
 $_sThisAction = null
 $_oParent = null
 $_blIsComponent = false
 $_sThisTemplate = null
 $_sViewId = null
 $_sClass = null
 $_sFnc = null
 $_sTrustedShopId = null
 $_sTSExcellenceId = null
 $_sCharSet = null
 $_sVersion = null
 $_blDemoVersion = null
 $_blDemoShop = null
 $_iNewsStatus = null
 $_sShopLogo = null
 $_sCategoryId = null
 $_oClickCat = null
 $_blIsCallForCache = false
 $_oViewConf = null

Additional Inherited Members

- Protected Member Functions inherited from oxView
 _executeNewAction ($sNewAction)
- Static Protected Attributes inherited from oxView
static $_blExecuted = false

Detailed Description

Currency manager class.

oxcmp

Definition at line 8 of file oxcmp_cur.php.

Member Function Documentation

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().

Returns
null

Reimplemented from oxView.

Definition at line 43 of file oxcmp_cur.php.

oxcmp_cur::render ( )

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

Template variables: currency

Returns
array

Reimplemented from oxView.

Definition at line 92 of file oxcmp_cur.php.

Member Data Documentation

oxcmp_cur::$_blIsComponent = true
protected

Definition at line 30 of file oxcmp_cur.php.

oxcmp_cur::$_oActCur = null
protected

Definition at line 23 of file oxcmp_cur.php.

oxcmp_cur::$aCurrencies = null

Definition at line 16 of file oxcmp_cur.php.


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