OXID eShop CE  4.8.10
 All Classes Files Functions Variables Pages
oxwrecommendation.php
Go to the documentation of this file.
1 <?php
2 
8 {
15  protected $_aComponentNames = array( 'oxcmp_cur' => 1 );
16 
21  protected $_sThisTemplate = 'widget/sidebar/recommendation.tpl';
22 
29  {
30  $aArticleIds = $this->getViewParameter( "aArticleIds" );
31 
32  $oRecommList = oxNew( 'oxrecommlist' );
33  $aRecommList = $oRecommList->getRecommListsByIds( $aArticleIds );
34 
35  return $aRecommList;
36  }
37 
43  function getRecommList()
44  {
45  $oRecommList = oxNew( 'recommlist' );
46 
47  return $oRecommList;
48  }
49 }