links.php

Go to the documentation of this file.
00001 <?php
00002 
00009 class Links extends oxUBase
00010 {
00015     protected $_sThisTemplate = 'links.tpl';
00016 
00021     protected $_oLinksList = null;
00022 
00032     public function render()
00033     {
00034         parent::render();
00035 
00036         $this->_aViewData['linkslist'] = $this->getLinksList();
00037 
00038         return $this->_sThisTemplate;
00039     }
00040 
00046     public function getLinksList()
00047     {
00048         if ( $this->_oLinksList === null ) {
00049             $this->_oLinksList = false;
00050             // Load links
00051             $oLinksList = oxNew( "oxlist" );
00052             $oLinksList->init( "oxlinks" );
00053             $oLinksList->getList();
00054             $this->_oLinksList = $oLinksList;
00055         }
00056         return $this->_oLinksList;
00057     }
00058 
00059 }

Generated on Tue Aug 18 09:21:08 2009 for OXID eShop CE by  doxygen 1.5.5