OXID eShop CE  6.1.4
OxidEsales\EshopCommunity\Application\Controller\WrappingController Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Application\Controller\WrappingController:
+ Collaboration diagram for OxidEsales\EshopCommunity\Application\Controller\WrappingController:

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

Member Function Documentation

◆ changeWrapping()

OxidEsales\EshopCommunity\Application\Controller\WrappingController::changeWrapping ( )

Updates wrapping data in session basket object (\OxidEsales\Eshop\Core\Session::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 (\OxidEsales\Eshop\Core\Session::setBasket()). Returns "order" to redirect to order confirmation secreen.

Returns
string

◆ getBasketItems()

OxidEsales\EshopCommunity\Application\Controller\WrappingController::getBasketItems ( )

Returns array of shopping basket articles

Returns
array

◆ getCardList()

OxidEsales\EshopCommunity\Application\Controller\WrappingController::getCardList ( )

Returns greeting cards list if available

Returns
oxlist

◆ getWrappingList()

OxidEsales\EshopCommunity\Application\Controller\WrappingController::getWrappingList ( )

Return basket wrappings list if available

Returns
oxlist

Member Data Documentation

◆ $_aBasketItemList

OxidEsales\EshopCommunity\Application\Controller\WrappingController::$_aBasketItemList = null
protected

◆ $_oCards

OxidEsales\EshopCommunity\Application\Controller\WrappingController::$_oCards = null
protected

◆ $_oWrappings

OxidEsales\EshopCommunity\Application\Controller\WrappingController::$_oWrappings = null
protected

◆ $_sThisTemplate

OxidEsales\EshopCommunity\Application\Controller\WrappingController::$_sThisTemplate = 'page/checkout/wrapping.tpl'
protected

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