Basket Class Reference

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

List of all members.


Detailed Description

Current session shopping cart (basket item list). Contains with user selected articles (with detail information), list of similar products, topoffer articles. OXID eShop -> SHOPPING CART.

Definition at line 9 of file basket.php.


Public Member Functions

 render ()
 getBasketArticles ()
 getFirstBasketProduct ()
 getBasketSimilarList ()
 getSimilarRecommLists ()
 addVoucher ()
 removeVoucher ()

Protected Attributes

 $_sThisTemplate = 'basket.tpl'
 $_sThisAltTemplate = 'impressum.tpl'
 $_blIsOrderStep = true
 $_oBasketArticles = null
 $_oSimilarList = null
 $_oRecommList = null
 $_oFirstBasketProduct = null
 $_iViewIndexState = 1

Member Function Documentation

Basket.render (  ) 

Executes parent.render(), creates list with basket articles Returns name of template file basket._sThisTemplate (for Search engines return "impressum.tpl" template to avoid fake orders etc).

Template variables: similarlist, basketitemlist

Returns:
string $this->_sThisTemplate current template file name

Reimplemented from oxUBase.

Definition at line 79 of file basket.php.

Basket.getBasketArticles (  ) 

Return the current articles from the basket

Returns:
object | bool

Definition at line 102 of file basket.php.

Basket.getFirstBasketProduct (  ) 

return the basket articles

Returns:
object | bool

Definition at line 120 of file basket.php.

Basket.getBasketSimilarList (  ) 

return the similar articles

Returns:
object | bool

Definition at line 138 of file basket.php.

Basket.getSimilarRecommLists (  ) 

return the recomm articles

Returns:
object | bool

Reimplemented from oxView.

Definition at line 156 of file basket.php.

Basket.addVoucher (  ) 

Assigns voucher to current basket

Returns:
null

Definition at line 175 of file basket.php.

Basket.removeVoucher (  ) 

Removes voucher from basket (calls oxbasket.removeVoucher())

Returns:
null

Definition at line 186 of file basket.php.


Member Data Documentation

Basket.$_sThisTemplate = 'basket.tpl' [protected]

Reimplemented from oxView.

Definition at line 16 of file basket.php.

Basket.$_sThisAltTemplate = 'impressum.tpl' [protected]

Definition at line 23 of file basket.php.

Basket.$_blIsOrderStep = true [protected]

Reimplemented from oxView.

Definition at line 30 of file basket.php.

Basket.$_oBasketArticles = null [protected]

Definition at line 37 of file basket.php.

Basket.$_oSimilarList = null [protected]

Definition at line 44 of file basket.php.

Basket.$_oRecommList = null [protected]

Definition at line 51 of file basket.php.

Basket.$_oFirstBasketProduct = null [protected]

Definition at line 59 of file basket.php.

Basket.$_iViewIndexState = 1 [protected]

Current view search engine indexing state: 0 - index without limitations 1 - no index / no follow 2 - no index / follow

Reimplemented from oxView.

Definition at line 67 of file basket.php.


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

Generated on Fri Dec 19 14:20:39 2008 for OXID eShop CE by  doxygen 1.5.5