Source for file contact.php

Documentation is available at contact.php

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

Documentation generated on Tue, 19 Nov 2013 14:56:36 +0100 by phpDocumentor 1.4.3