src/ShopBundle/objects/db/TShopArticle.class.php
public function GetToBasketLinkParameters($bRedirectToBasket = false, $bReplaceBasketContents = false, $bGetAjaxParameter = false, $sMessageConsumer = MTShopBasketCore::MSG_CONSUMER_NAME_MINIBASKET)
    {
        $aParameters = $this->getToBasketLinkBasketParameters($bRedirectToBasket, $bReplaceBasketContents, $bGetAjaxParameter, $sMessageConsumer);
        $aParameters = $this->getToBasketLinkOtherParameters($aParameters);

        return $aParameters;
    }
public function GetToBasketLinkParameters($bRedirectToBasket = false, $bReplaceBasketContents = false, $bGetAjaxParameter = false, $sMessageConsumer = MTShopBasketCore::MSG_CONSUMER_NAME_MINIBASKET)
    {
        $aParameters = $this->getToBasketLinkBasketParameters($bRedirectToBasket, $bReplaceBasketContents, $bGetAjaxParameter, $sMessageConsumer);
        $aParameters = $this->getToBasketLinkOtherParameters($aParameters);

        return $aParameters;
    }
public function GetToBasketLinkParameters ( $ bRedirectToBasket = false , $ bReplaceBasketContents = false , $ bGetAjaxParameter = false , $ sMessageConsumer = MTShopBasketCore :: MSG_CONSUMER_NAME_MINIBASKET ) { $ aParameters = $ this -> getToBasketLinkBasketParameters ( $ bRedirectToBasket , $ bReplaceBasketContents , $ bGetAjaxParameter , $ sMessageConsumer ) ; $ aParameters = $ this -> getToBasketLinkOtherParameters ( $ aParameters ) ; return $ aParameters ; }
return parameters needed for a to basket call.

@param bool   $bRedirectToBasket      - redirect to basket page after adding product
@param bool   $bReplaceBasketContents - set to true if you want the contents of the basket to be replaced by the product wenn added to basket
@param bool   $bGetAjaxParameter      - set to true if you want to get basket link for ajax call
@param string $sMessageConsumer       - set custom message consumer

@return array
return parameters needed for a to basket call .