OXID eShop CE  4.9.6
 All Classes Files Functions Variables Pages
oxwrecommendation.php
Go to the documentation of this file.
1 <?php
2 
8 {
9 
17  protected $_aComponentNames = array('oxcmp_cur' => 1);
18 
24  protected $_sThisTemplate = 'widget/sidebar/recommendation.tpl';
25 
31  public function getSimilarRecommLists()
32  {
33  $aArticleIds = $this->getViewParameter("aArticleIds");
34 
35  $oRecommList = oxNew('oxrecommlist');
36  $aRecommList = $oRecommList->getRecommListsByIds($aArticleIds);
37 
38  return $aRecommList;
39  }
40 
46  public function getRecommList()
47  {
48  $oRecommList = oxNew('recommlist');
49 
50  return $oRecommList;
51  }
52 }