. All rights reserved. * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL * BootstrapTabs is free software. This version may have been modified pursuant * to the GNU General Public License, and as distributed it includes or * is derivative of works licensed under the GNU General Public License or * other free or open source software licenses. */ // no direct access defined('_JEXEC') or die; /** * It is the component helper class * */ class BootstrapTabsHelper { static $extension = "com_bootstraptabs"; /** * Configure the Linkbar. * * @param string The name of the active view. * @since 1.6 */ public static function addSubmenu($vName = 'tabs') { JHtmlSidebar::addEntry( JText::_('COM_BOOTSTRAPTABS_TABS'), 'index.php?option='.self::$extension.'&view=tabs', $vName == 'tabs' ); JHtmlSidebar::addEntry( JText::_('COM_BOOTSTRAPTABS_ACCORDING'), 'index.php?option='.self::$extension.'&view=according', $vName == 'according' ); } }