links.php

Go to the documentation of this file.
00001 <?php
00002 
00009 class Links extends oxUBase
00010 {
00015     protected $_sThisTemplate = 'page/info/links.tpl';
00016 
00021     protected $_oLinksList = null;
00022 
00028     public function getLinksList()
00029     {
00030         if ( $this->_oLinksList === null ) {
00031             $this->_oLinksList = false;
00032             // Load links
00033             $oLinksList = oxNew( "oxlist" );
00034             $oLinksList->init( "oxlinks" );
00035             $oLinksList->getList();
00036             $this->_oLinksList = $oLinksList;
00037         }
00038         return $this->_oLinksList;
00039     }
00040 
00046     public function getBreadCrumb()
00047     {
00048         $aPaths[]['title'] = oxLang::getInstance()->translateString( 'PAGE_INFO_LINKS_TITLE', oxLang::getInstance()->getBaseLanguage(), false );
00049 
00050         return $aPaths;
00051     }
00052 
00053 }