OXID eShop CE  4.10.6
 All Classes Namespaces Files Functions Variables Pages
oxwrecommendation.php
Go to the documentation of this file.
1 <?php
2 
10 {
11 
19  protected $_aComponentNames = array('oxcmp_cur' => 1);
20 
26  protected $_sThisTemplate = 'widget/sidebar/recommendation.tpl';
27 
33  public function getSimilarRecommLists()
34  {
35  $aArticleIds = $this->getViewParameter("aArticleIds");
36 
37  $oRecommList = oxNew('oxrecommlist');
38  $aRecommList = $oRecommList->getRecommListsByIds($aArticleIds);
39 
40  return $aRecommList;
41  }
42 
48  public function getRecommList()
49  {
50  $oRecommList = oxNew('recommlist');
51 
52  return $oRecommList;
53  }
54 }