public function navigation($config = array())
    {
        $config = array_merge($config, array(
          'tabs' => array(
              'about' => array(
                  'label' => 'COM-SETTINGS-ABOUT',
                  'url' => 'option=com_settings&view=about'
              ),
              'settings' => array(
                  'label' => 'COM-SETTINGS-SYSTEM',
                  'url' => 'option=com_settings&view=settings'
              ),
              'apps' => array(
                  'label' => 'COM-SETTINGS-APPS',
                  'url' => 'option=com_settings&view=apps'
              ),
              'assignments' => array(
                  'label' => 'COM-SETTINGS-ASSIGNMENTS',
                  'url' => 'option=com_settings&view=assignments'
              ),
              'plugins' => array(
                  'label' => 'COM-SETTINGS-PLUGINS',
                  'url' => 'option=com_settings&view=plugins'
              ),
              'templates' => array(
                  'label' => 'COM-SETTINGS-TEMPLATES',
                  'url' => 'option=com_settings&view=templates'
              ),
          ),
        ));

        if(!isset($config['selected'])) {
          $config['selected'] = 'settings';
        }

        return $this->_render('navigation', $config);
    }
public function navigation($config = array())
    {
        $config = array_merge($config, array(
          'tabs' => array(
              'about' => array(
                  'label' => 'COM-SETTINGS-ABOUT',
                  'url' => 'option=com_settings&view=about'
              ),
              'settings' => array(
                  'label' => 'COM-SETTINGS-SYSTEM',
                  'url' => 'option=com_settings&view=settings'
              ),
              'apps' => array(
                  'label' => 'COM-SETTINGS-APPS',
                  'url' => 'option=com_settings&view=apps'
              ),
              'assignments' => array(
                  'label' => 'COM-SETTINGS-ASSIGNMENTS',
                  'url' => 'option=com_settings&view=assignments'
              ),
              'plugins' => array(
                  'label' => 'COM-SETTINGS-PLUGINS',
                  'url' => 'option=com_settings&view=plugins'
              ),
              'templates' => array(
                  'label' => 'COM-SETTINGS-TEMPLATES',
                  'url' => 'option=com_settings&view=templates'
              ),
          ),
        ));

        if(!isset($config['selected'])) {
          $config['selected'] = 'settings';
        }

        return $this->_render('navigation', $config);
    }
public function navigation ( $ config = array ( ) ) { $ config = array_merge ( $ config , array ( 'tabs' => array ( 'about' => array ( 'label' => 'COM-SETTINGS-ABOUT' , 'url' => 'option=com_settings&view=about' ) , 'settings' => array ( 'label' => 'COM-SETTINGS-SYSTEM' , 'url' => 'option=com_settings&view=settings' ) , 'apps' => array ( 'label' => 'COM-SETTINGS-APPS' , 'url' => 'option=com_settings&view=apps' ) , 'assignments' => array ( 'label' => 'COM-SETTINGS-ASSIGNMENTS' , 'url' => 'option=com_settings&view=assignments' ) , 'plugins' => array ( 'label' => 'COM-SETTINGS-PLUGINS' , 'url' => 'option=com_settings&view=plugins' ) , 'templates' => array ( 'label' => 'COM-SETTINGS-TEMPLATES' , 'url' => 'option=com_settings&view=templates' ) , ) , ) ) ; if ( ! isset ( $ config [ 'selected' ] ) ) { $ config [ 'selected' ] = 'settings' ; } return $ this -> _render ( 'navigation' , $ config ) ; }
Renders navigation bar for settings

@param array of menu items
@param string html
Renders navigation bar for settings