oxwrecommendation.php

Go to the documentation of this file.
00001 <?php
00002 
00007 class oxwRecommendation extends oxWidget
00008 {
00015     protected $_aComponentNames = array( 'oxcmp_cur' => 1 );
00016 
00021     protected $_sThisTemplate = 'widget/sidebar/recommendation.tpl';
00022 
00028     function getSimilarRecommLists()
00029     {
00030         $aArticleIds = $this->getViewParameter( "aArticleIds" );
00031 
00032         $oRecommList = oxNew( 'oxrecommlist' );
00033         $aRecommList = $oRecommList->getRecommListsByIds( $aArticleIds );
00034 
00035         return $aRecommList;
00036     }
00037 
00043     function getRecommList()
00044     {
00045         $oRecommList = oxNew( 'recommlist' );
00046 
00047         return $oRecommList;
00048     }
00049 }