Source for file newsfeeds.php

Documentation is available at newsfeeds.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Administrator
  4.  * @subpackage  com_newsfeeds
  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.  * Newsfeeds component helper.
  14.  *
  15.  * @package     Joomla.Administrator
  16.  * @subpackage  com_newsfeeds
  17.  * @since       1.6
  18.  */
  19. {
  20.     public static $extension 'com_newsfeeds';
  21.  
  22.     /**
  23.      * Configure the Linkbar.
  24.      *
  25.      * @param   string  $vName  The name of the active view.
  26.      *
  27.      * @return  void 
  28.      */
  29.     public static function addSubmenu($vName)
  30.     {
  31.         JHtmlSidebar::addEntry(
  32.             JText::_('COM_NEWSFEEDS_SUBMENU_NEWSFEEDS'),
  33.             'index.php?option=com_newsfeeds&view=newsfeeds',
  34.             $vName == 'newsfeeds'
  35.         );
  36.  
  37.         JHtmlSidebar::addEntry(
  38.             JText::_('COM_NEWSFEEDS_SUBMENU_CATEGORIES'),
  39.             'index.php?option=com_categories&extension=com_newsfeeds',
  40.             $vName == 'categories'
  41.         );
  42.     }
  43.  
  44. }

Documentation generated on Tue, 19 Nov 2013 15:09:32 +0100 by phpDocumentor 1.4.3