source/Application/Model/DeliveryList.php
public function hasDeliveries($oBasket, $oUser, $sDelCountry, $sDeliverySetId)
    {
        $blHas = false;

        // loading delivery list to check if some of them fits
        $this->_getList($oUser, $sDelCountry, $sDeliverySetId);
        foreach ($this as $oDelivery) {
            if ($oDelivery->isForBasket($oBasket)) {
                $blHas = true;
                break;
            }
        }

        return $blHas;
    }
public function hasDeliveries($oBasket, $oUser, $sDelCountry, $sDeliverySetId)
    {
        $blHas = false;

        // loading delivery list to check if some of them fits
        $this->_getList($oUser, $sDelCountry, $sDeliverySetId);
        foreach ($this as $oDelivery) {
            if ($oDelivery->isForBasket($oBasket)) {
                $blHas = true;
                break;
            }
        }

        return $blHas;
    }
public function hasDeliveries ( $ oBasket , $ oUser , $ sDelCountry , $ sDeliverySetId ) { $ blHas = false ; // loading delivery list to check if some of them fits $ this -> _getList ( $ oUser , $ sDelCountry , $ sDeliverySetId ) ; foreach ( $ this as $ oDelivery ) { if ( $ oDelivery -> isForBasket ( $ oBasket ) ) { $ blHas = true ; break ; } } return $ blHas ; }
Checks if deliveries in list fits for current basket and delivery set

@param \OxidEsales\Eshop\Application\Model\Basket $oBasket        shop basket
@param \OxidEsales\Eshop\Application\Model\User   $oUser          session user
@param string                                     $sDelCountry    delivery country
@param string                                     $sDeliverySetId delivery set id to check its relation to delivery list

@return bool
Checks if deliveries in list fits for current basket and delivery set