oxwrecommendation.php

Go to the documentation of this file.
00001 <?php
00002 
00007 class oxwRecommendation extends oxWidget
00008 {
00009 
00017     protected $_aComponentNames = array('oxcmp_cur' => 1);
00018 
00024     protected $_sThisTemplate = 'widget/sidebar/recommendation.tpl';
00025 
00031     public function getSimilarRecommLists()
00032     {
00033         $aArticleIds = $this->getViewParameter("aArticleIds");
00034 
00035         $oRecommList = oxNew('oxrecommlist');
00036         $aRecommList = $oRecommList->getRecommListsByIds($aArticleIds);
00037 
00038         return $aRecommList;
00039     }
00040 
00046     public function getRecommList()
00047     {
00048         $oRecommList = oxNew('recommlist');
00049 
00050         return $oRecommList;
00051     }
00052 }