recommadd.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class RecommAdd extends Details
00009 {
00015     protected $_sThisTemplate = 'recommadd.tpl';
00016 
00022     protected $_aUserRecommList = null;
00023 
00029     public function init()
00030     {
00031         oxUBase::init();
00032     }
00033 
00039     public function getRecommLists()
00040     {
00041         if ( $this->_aUserRecommList === null ) {
00042             $oUser   = $this->getUser();
00043             if ( $oUser) {
00044                 $this->_aUserRecommList = $oUser->getUserRecommLists();
00045             }
00046         }
00047         return $this->_aUserRecommList;
00048     }
00049 
00050 
00051 }