88         $this->_iAllArtCnt = 0;
 
   92                 $this->_iAllArtCnt = $oActiveRecommList->getArtCount();
 
   95             if ( 
$myConfig->getConfigParam( 
'bl_rssRecommListArts' ) ) {
 
   96                 $oRss = 
oxNew(
'oxrssfeed');
 
   97                 $this->
addRssFeed($oRss->getRecommListArticlesTitle($oActiveRecommList), $oRss->getRecommListArticlesUrl($this->_oActiveRecommList), 
'recommlistarts');
 
  102                 $oRecommList = 
oxNew( 
'oxrecommlist' );
 
  103                 $this->_iAllArtCnt = $oRecommList->getSearchRecommListCount( $this->
getRecommSearch() );
 
  111         if ( $oList && $oList->count() ) {
 
  112             $iNrofCatArticles = (int) $this->
getConfig()->getConfigParam( 
'iNrofCatArticles' );
 
  113             $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 10;
 
  114             $this->_iCntPages  = round( $this->_iAllArtCnt / $iNrofCatArticles + 0.49 );
 
  140         $sAddParams .= ($sAddParams?
'&':
'') . 
"listtype={$this->_sListType}";
 
  143             $sAddParams .= 
"&recommid=".$oRecommList->getId();
 
  158             $sAddParams .= 
"&searchrecomm=" . rawurlencode( $sParam );
 
  179             if ( $dRating !== null ) {
 
  180                 $dRating = (int) $dRating;
 
  183             if ( $dRating !== null && $dRating >= 1 && $dRating <= 5 ) {
 
  184                 $oRating = 
oxNew( 
'oxrating' );
 
  185                 if ( $oRating->allowRating( $oUser->getId(), 
'oxrecommlist', $oRecommList->getId() ) ) {
 
  186                     $oRating->oxratings__oxuserid   = 
new oxField( $oUser->getId() );
 
  187                     $oRating->oxratings__oxtype     = 
new oxField( 
'oxrecommlist' );
 
  188                     $oRating->oxratings__oxobjectid = 
new oxField( $oRecommList->getId() );
 
  189                     $oRating->oxratings__oxrating   = 
new oxField( $dRating );
 
  191                     $oRecommList->addToRatingAverage( $dRating );
 
  196                 $oReview = 
oxNew( 
'oxreview' );
 
  197                 $oReview->oxreviews__oxobjectid = 
new oxField( $oRecommList->getId() );
 
  198                 $oReview->oxreviews__oxtype     = 
new oxField( 
'oxrecommlist' );
 
  201                 $oReview->oxreviews__oxuserid   = 
new oxField( $oUser->getId() );
 
  202                 $oReview->oxreviews__oxrating   = 
new oxField( ( $dRating !== null ) ? $dRating : null );
 
  228         if ( $this->_aArticleList === null ) {
 
  229             $this->_aArticleList = 
false;
 
  233                 $iActPage = ($iActPage < 0) ? 0 : $iActPage;
 
  236                 $iNrofCatArticles = $this->
getConfig()->getConfigParam( 
'iNrofCatArticles' );
 
  237                 $iNrofCatArticles = $iNrofCatArticles ? $iNrofCatArticles : 10;
 
  239                 $this->_aArticleList = $oActiveRecommList->getArticles($iNrofCatArticles * $iActPage, $iNrofCatArticles);
 
  241                 if ( $this->_aArticleList && $this->_aArticleList->count() ) {
 
  242                     foreach ( $this->_aArticleList as $oItem ) {
 
  243                         $oItem->text = $oActiveRecommList->getArtDescription( $oItem->getId() );
 
  258         if ( $this->_oOtherRecommList === null ) {
 
  259             $this->_oOtherRecommList = 
false;
 
  261                 $oRecommLists = $oActiveRecommList->getRecommListsByIds( $oList->arrayKeys() );
 
  263                 unset( $oRecommLists[$oActiveRecommList->getId()] );
 
  264                 $this->_oOtherRecommList = $oRecommLists;
 
  277         if ( $this->_aReviews === null ) {
 
  278             $this->_aReviews = 
false;
 
  280                 $this->_aReviews = $oActiveRecommList->getReviews();
 
  293         return $this->
getConfig()->getConfigParam( 
'bl_perfLoadReviews' );
 
  303         if ( $this->_blRate === null ) {
 
  304             $this->_blRate = 
false;
 
  306                 $oRating = 
oxNew( 
'oxrating' );
 
  307                 $this->_blRate = $oRating->allowRating( 
oxSession::getVar( 
'usr' ), 
'oxrecommlist', $oActiveRecommList->getId());
 
  320         if ( $this->_dRatingValue === null ) {
 
  321             $this->_dRatingValue = (double)0;
 
  323                 $this->_dRatingValue = round( $oActiveRecommList->oxrecommlists__oxrating->value, 1);
 
  336         if ( $this->_iRatingCnt === null ) {
 
  337             $this->_iRatingCnt = 
false;
 
  339                 $this->_iRatingCnt = $oActiveRecommList->oxrecommlists__oxratingcnt->value;
 
  352         if ( $this->_oSearchRecommLists === null ) {
 
  353             $this->_oSearchRecommLists = array();
 
  356                 $oRecommList = 
oxNew( 
'oxrecommlist' );
 
  357                 $oList = $oRecommList->getSearchRecommLists( $this->
getRecommSearch() );
 
  358                 if ( $oList && $oList->count() ) {
 
  359                     $this->_oSearchRecommLists = $oList;
 
  373         if ( $this->_sSearch === null ) {
 
  374             $this->_sSearch = 
false;
 
  376                 $this->_sSearch = $sSearch;
 
  391         $aPath[0] = 
oxNew( 
"oxcategory" );
 
  392         $aPath[0]->setLink( 
false );
 
  393         $aPath[0]->oxcategories__oxtitle = 
new oxField( $oLang->translateString(
'RECOMMLIST') );
 
  396             $sUrl   = $this->
getConfig()->getShopHomeURL().
"cl=recommlist&searchrecomm=".rawurlencode( $sSearchparam );
 
  397             $sTitle = $oLang->translateString(
'RECOMMLIST_SEARCH').
' "'.$sSearchparam.
'"';
 
  399             $aPath[1] = 
oxNew( 
"oxcategory" );
 
  400             $aPath[1]->setLink( $sUrl );
 
  401             $aPath[1]->oxcategories__oxtitle = 
new oxField( $sTitle );
 
  416             return $oActiveRecommList->oxrecommlists__oxtitle->value;
 
  429             $sUrl = $oRecomm->getLink();
 
  450                 $sUrl = $oRecomm->getBaseSeoLink( $iLang, $iPage );
 
  468             $sAddParams .= 
"&recommid=".$oRecomm->getId();
 
  472             $sAddParams .= 
"&searchrecomm=". rawurlencode( $sSearch );
 
  488             $sLink = $oRecomm->getLink( $iLang );
 
  494             $sLink .= ( ( strpos( $sLink, 
'?' ) === false ) ? 
'?' : 
'&' ) . 
"searchrecomm={$sSearch}";
 
  511         $aPath[
'link']  = $this->
getLink();