Definition at line 6 of file wrapping.php.
Public Member Functions | |
render () | |
getBasketItems () | |
getWrappingList () | |
getCardList () | |
changeWrapping () | |
Protected Attributes | |
$_sThisTemplate = 'wrapping.tpl' | |
$_aBasketItemList = null | |
$_oWrappings = null | |
$_oCards = null |
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
Reimplemented from oxUBase.
Definition at line 46 of file wrapping.php.
Wrapping.getBasketItems | ( | ) |
Wrapping.getWrappingList | ( | ) |
Return basket wrappings list if available
Definition at line 82 of file wrapping.php.
Wrapping.getCardList | ( | ) |
Returns greeting cards list if available
Definition at line 96 of file wrapping.php.
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 117 of file wrapping.php.
Wrapping.$_sThisTemplate = 'wrapping.tpl' [protected] |
Wrapping.$_aBasketItemList = null [protected] |
Definition at line 20 of file wrapping.php.
Wrapping.$_oWrappings = null [protected] |
Definition at line 27 of file wrapping.php.
Wrapping.$_oCards = null [protected] |
Definition at line 34 of file wrapping.php.