src/ShopBundle/objects/db/TShopShippingType.class.php
public function IsValidForBasket()
    {
        $bValidForBasket = false;
        $oArticles = &$this->GetAffectedBasketArticles();
        $bValidForBasket = ($oArticles->Length() > 0);

        return $bValidForBasket;
    }
public function IsValidForBasket()
    {
        $bValidForBasket = false;
        $oArticles = &$this->GetAffectedBasketArticles();
        $bValidForBasket = ($oArticles->Length() > 0);

        return $bValidForBasket;
    }
public function IsValidForBasket ( ) { $ bValidForBasket = false ; $ oArticles = & $ this -> GetAffectedBasketArticles ( ) ; $ bValidForBasket = ( $ oArticles -> Length ( ) > 0 ) ; return $ bValidForBasket ; }
checks if the current shipping type is available for the current basket
affected articles in the basket will be marked with the shipping type.

@return bool
checks if the current shipping type is available for the current basket affected articles in the basket will be marked with the shipping type .