Wrapping Class Reference

Inheritance diagram for Wrapping:

Inheritance graph
[legend]
Collaboration diagram for Wrapping:

Collaboration graph
[legend]

List of all members.


Detailed Description

Managing Gift Wrapping

Public Member Functions

 render ()
 getBasketItems ()
 getWrappingList ()
 getCardList ()
 changeWrapping ()

Protected Attributes

 $_sThisTemplate = 'wrapping.tpl'
 $_aBasketItemList = null
 $_oWrappings = null
 $_oCards = null

Member Function Documentation

Wrapping.render (  ) 

Executes parent.render(), loads basket article objects, forms wrapping and gift cards list. Returns name of template file to render wishlist._sThisTemplate.

Template variables: basketitemlist, wrappings, cards

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

Reimplemented from oxUBase.

Wrapping.getBasketItems (  ) 

Returns array of shopping basket articles

Returns:
array

Wrapping.getWrappingList (  ) 

Return basket wrappings list if available

Returns:
oxlist | bool

Wrapping.getCardList (  ) 

Returns greeting cards list if available

Returns:
oxlist | bool

Wrapping.changeWrapping (  ) 

Updates wrapping data in session basket object (oxsession.getBasket()) - adds wrapping info to each article in basket (if possible). Plus adds gift message and chosen card ( takes from GET/POST/session; oBasket.giftmessage, oBasket.chosencard). Then sets basket back to session (oxsession.setBasket()). Returns "order" to redirect to order confirmation secreen.

Returns:
string


Member Data Documentation

Wrapping.$_sThisTemplate = 'wrapping.tpl' [protected]

Reimplemented from oxView.

Wrapping.$_aBasketItemList = null [protected]

Wrapping.$_oWrappings = null [protected]

Wrapping.$_oCards = null [protected]


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

Generated on Wed Oct 29 23:48:56 2008 for OXID eShop CE by  doxygen 1.5.5