45 if ($this->_aBasketItemList === null) {
46 $this->_aBasketItemList =
false;
49 if ($oBasket = $this->
getSession()->getBasket()) {
50 $this->_aBasketItemList = $oBasket->getBasketArticles();
64 if ($this->_oWrappings === null) {
65 $this->_oWrappings =
new oxlist();
69 $this->_oWrappings =
oxNew(
'oxwrapping')->getWrappingList(
'WRAP');
83 if ($this->_oCards === null) {
84 $this->_oCards =
new oxlist();
88 $this->_oCards =
oxNew(
'oxwrapping')->getWrappingList(
'CARD');
113 if (is_array($aWrapping) && count($aWrapping)) {
114 foreach ($oBasket->getContents() as $sKey => $oBasketItem) {
116 if (isset($aWrapping[$sKey])) {
117 $oBasketItem->setWrapping($aWrapping[$sKey]);
124 $oBasket->onUpdate();