Source for file weblinks.php

Documentation is available at weblinks.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_weblinks
  5.  *
  6.  * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
  7.  * @license     GNU General Public License version 2 or later; see LICENSE.txt
  8.  */
  9.  
  10. defined('_JEXEC'or die;
  11.  
  12. /**
  13.  * Weblinks helper.
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_weblinks
  17.  * @since       1.6
  18.  */
  19. {
  20.     /**
  21.      * Configure the Linkbar.
  22.      *
  23.      * @param   string    $vName  The name of the active view.
  24.      *
  25.      * @return  void 
  26.      *
  27.      * @since   1.6
  28.      */
  29.     public static function addSubmenu($vName 'weblinks')
  30.     {
  31.         JHtmlSidebar::addEntry(
  32.             JText::_('COM_WEBLINKS_SUBMENU_WEBLINKS'),
  33.             'index.php?option=com_weblinks&view=weblinks',
  34.             $vName == 'weblinks'
  35.         );
  36.  
  37.         JHtmlSidebar::addEntry(
  38.             JText::_('COM_WEBLINKS_SUBMENU_CATEGORIES'),
  39.             'index.php?option=com_categories&extension=com_weblinks',
  40.             $vName == 'categories'
  41.         );
  42.     }
  43.  
  44. }

Documentation generated on Tue, 19 Nov 2013 15:18:29 +0100 by phpDocumentor 1.4.3