44 if ( $this->_aBasketItemList === null ) {
45 $this->_aBasketItemList =
false;
48 if ( $oBasket = $this->
getSession()->getBasket() ) {
49 $this->_aBasketItemList = $oBasket->getBasketArticles();
63 if ( $this->_oWrappings === null ) {
64 $this->_oWrappings =
new oxlist();
68 $this->_oWrappings =
oxNew(
'oxwrapping' )->getWrappingList(
'WRAP' );
81 if ( $this->_oCards === null ) {
82 $this->_oCards =
new oxlist();
86 $this->_oCards =
oxNew(
'oxwrapping' )->getWrappingList(
'CARD' );
111 if ( is_array( $aWrapping ) && count( $aWrapping ) ) {
112 foreach ( $oBasket->getContents() as $sKey => $oBasketItem ) {
114 if ( isset( $aWrapping[$sKey] ) ) {
115 $oBasketItem->setWrapping( $aWrapping[$sKey] );
122 $oBasket->onUpdate();