00001 <?php 00002 00008 class RecommAdd extends Details 00009 { 00015 protected $_sThisTemplate = 'recommadd.tpl'; 00016 00022 protected $_aUserRecommList = null; 00023 00029 public function render() 00030 { 00031 parent::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 }