oxcmp_cur Class Reference

Inheritance diagram for oxcmp_cur:
[legend]
Collaboration diagram for oxcmp_cur:
[legend]

List of all members.


Detailed Description

Currency manager class. oxcmp

Definition at line 7 of file oxcmp_cur.php.


Public Member Functions

 init ()
 render ()

Public Attributes

 $aCurrencies = null

Protected Attributes

 $_oActCur = null
 $_blIsComponent = true

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 38 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 138 of file oxcmp_cur.php.


Member Data Documentation

oxcmp_cur.$aCurrencies = null

Definition at line 13 of file oxcmp_cur.php.

oxcmp_cur.$_oActCur = null [protected]

Definition at line 19 of file oxcmp_cur.php.

oxcmp_cur.$_blIsComponent = true [protected]

Reimplemented from oxView.

Definition at line 25 of file oxcmp_cur.php.


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

Generated on Thu Dec 4 12:05:22 2008 for OXID eShop CE by  doxygen 1.5.5