src/ShopBundle/objects/db/TShopArticle.class.php
public function &GetReviewsPublished()
    {
        $oReviews = $this->GetFromInternalCache('oPublishedReviews');
        if (is_null($oReviews)) {
            $oReviews = &TdbShopArticleReviewList::GetPublishedReviews($this->id, $this->iLanguageId);
            $this->SetInternalCache('oPublishedReviews', $oReviews);
        }

        return $oReviews;
    }
public function &GetReviewsPublished()
    {
        $oReviews = $this->GetFromInternalCache('oPublishedReviews');
        if (is_null($oReviews)) {
            $oReviews = &TdbShopArticleReviewList::GetPublishedReviews($this->id, $this->iLanguageId);
            $this->SetInternalCache('oPublishedReviews', $oReviews);
        }

        return $oReviews;
    }
public function & GetReviewsPublished ( ) { $ oReviews = $ this -> GetFromInternalCache ( 'oPublishedReviews' ) ; if ( is_null ( $ oReviews ) ) { $ oReviews = & TdbShopArticleReviewList :: GetPublishedReviews ( $ this -> id , $ this -> iLanguageId ) ; $ this -> SetInternalCache ( 'oPublishedReviews' , $ oReviews ) ; } return $ oReviews ; }
return all published reviews for the article.

@return TdbShopArticleReviewList
return all published reviews for the article .