OXID eShop CE  4.8.11
 All Classes Files Functions Variables Pages
links.php
Go to the documentation of this file.
1 <?php
2 
9 class Links extends oxUBase
10 {
15  protected $_sThisTemplate = 'page/info/links.tpl';
16 
21  protected $_oLinksList = null;
22 
28  public function getLinksList()
29  {
30  if ( $this->_oLinksList === null ) {
31  $this->_oLinksList = false;
32  // Load links
33  $oLinksList = oxNew( "oxlist" );
34  $oLinksList->init( "oxlinks" );
35  $oLinksList->getList();
36  $this->_oLinksList = $oLinksList;
37  }
38  return $this->_oLinksList;
39  }
40 
46  public function getBreadCrumb()
47  {
48  $aPaths = array();
49  $aPath = array();
50  $aPath['title'] = oxRegistry::getLang()->translateString( 'LINKS', oxRegistry::getLang()->getBaseLanguage(), false );
51  $aPath['link'] = $this->getLink();
52 
53  $aPaths[] = $aPath;
54 
55  return $aPaths;
56  }
57 
58 }