src/ShopArticleReviewBundle/objects/db/TPkgShopArticleReviewShopArticleReview.class.php
public function GetRateURL($bPositiveLink = true, $bUseFullUrl = false)
    {
        if ($bPositiveLink) {
            $bPositiveLink = '1';
        } else {
            $bPositiveLink = '0';
        }
        $aParameter = array('bRate' => $bPositiveLink, TdbShopArticleReview::URL_PARAM_REVIEW_ID => $this->id);
        $sRatePositiveLink = TTools::GetExecuteMethodOnCurrentModuleURL('RateReview', $aParameter, $bUseFullUrl);

        return $sRatePositiveLink;
    }
public function GetRateURL($bPositiveLink = true, $bUseFullUrl = false)
    {
        if ($bPositiveLink) {
            $bPositiveLink = '1';
        } else {
            $bPositiveLink = '0';
        }
        $aParameter = array('bRate' => $bPositiveLink, TdbShopArticleReview::URL_PARAM_REVIEW_ID => $this->id);
        $sRatePositiveLink = TTools::GetExecuteMethodOnCurrentModuleURL('RateReview', $aParameter, $bUseFullUrl);

        return $sRatePositiveLink;
    }
public function GetRateURL ( $ bPositiveLink = true , $ bUseFullUrl = false ) { if ( $ bPositiveLink ) { $ bPositiveLink = '1' ; } else { $ bPositiveLink = '0' ; } $ aParameter = array ( 'bRate' => $ bPositiveLink , TdbShopArticleReview :: URL_PARAM_REVIEW_ID => $ this -> id ) ; $ sRatePositiveLink = TTools :: GetExecuteMethodOnCurrentModuleURL ( 'RateReview' , $ aParameter , $ bUseFullUrl ) ; return $ sRatePositiveLink ; }
Returns URL to rate a comment.

@param bool $bPositiveLink Set if you want the url to rate a review positive or negative
@param bool $bUseFullUrl

@return string
Returns URL to rate a comment .