recommadd.php

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