Beispiel #1
0
 /**
  * Returns the base navigation object (not its path) for the tabs.
  * May return NULL if tab display is disabled.
  */
 public static function getTabNavigation()
 {
     if (self::$tab_navigation === false) {
         self::$tab_navigation = Navigation::hasItem('/') ? Navigation::getItem('/')->activeSubNavigation() : null;
     }
     return self::$tab_navigation;
 }