source/Application/Controller/BasketController.php
protected function _setWrappingInfo($oBasket, $aWrapping)
    {
        if (is_array($aWrapping) && count($aWrapping)) {
            foreach ($oBasket->getContents() as $sKey => $oBasketItem) {
                if (isset($aWrapping[$sKey])) {
                    $oBasketItem->setWrapping($aWrapping[$sKey]);
                }
            }
        }
    }
protected function _setWrappingInfo($oBasket, $aWrapping)
    {
        if (is_array($aWrapping) && count($aWrapping)) {
            foreach ($oBasket->getContents() as $sKey => $oBasketItem) {
                if (isset($aWrapping[$sKey])) {
                    $oBasketItem->setWrapping($aWrapping[$sKey]);
                }
            }
        }
    }
protected function _setWrappingInfo ( $ oBasket , $ aWrapping ) { if ( is_array ( $ aWrapping ) && count ( $ aWrapping ) ) { foreach ( $ oBasket -> getContents ( ) as $ sKey => $ oBasketItem ) { if ( isset ( $ aWrapping [ $ sKey ] ) ) { $ oBasketItem -> setWrapping ( $ aWrapping [ $ sKey ] ) ; } } } }
Sets basket wrapping

@param \OxidEsales\Eshop\Application\Model\Basket $oBasket
@param array                                      $aWrapping
Sets basket wrapping