Public Member Functions | Protected Attributes

Wrapping Class Reference

Inheritance diagram for Wrapping:
Collaboration diagram for Wrapping:

List of all members.

Public Member Functions

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

Protected Attributes

 $_sThisTemplate = 'page/checkout/wrapping.tpl'
 $_aBasketItemList = null
 $_oWrappings = null
 $_oCards = null

Detailed Description

Managing Gift Wrapping

Definition at line 6 of file wrapping.php.

Member Function Documentation

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.


Definition at line 106 of file wrapping.php.

Wrapping.getBasketItems (  ) 

Returns array of shopping basket articles


Definition at line 43 of file wrapping.php.

Wrapping.getCardList (  ) 

Returns greeting cards list if available


Definition at line 81 of file wrapping.php.

Wrapping.getWrappingList (  ) 

Return basket wrappings list if available


Definition at line 62 of file wrapping.php.

Member Data Documentation

Wrapping.$_aBasketItemList = null [protected]

Definition at line 21 of file wrapping.php.

Wrapping.$_oCards = null [protected]

Definition at line 35 of file wrapping.php.

Wrapping.$_oWrappings = null [protected]

Definition at line 28 of file wrapping.php.

Wrapping.$_sThisTemplate = 'page/checkout/wrapping.tpl' [protected]

Reimplemented from oxView.

Definition at line 14 of file wrapping.php.

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