Source for file helper.php

Documentation is available at helper.php

  1. <?php
  2. /**
  3.  * @package     Joomla.Site
  4.  * @subpackage  mod_search
  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.  * Helper for mod_search
  14.  *
  15.  * @package     Joomla.Site
  16.  * @subpackage  mod_search
  17.  * @since       1.5
  18.  */
  19. {
  20.     /**
  21.      * Display the search button as an image.
  22.      *
  23.      * @param   string    $button_text    The alt text for the button.
  24.      *
  25.      * @return  string    The HTML for the image.
  26.      * @since   1.5
  27.      */
  28.     public static function getSearchImage($button_text)
  29.     {
  30.         $img JHtml::_('image''searchButton.gif'$button_textnulltruetrue);
  31.         return $img;
  32.     }
  33. }

Documentation generated on Tue, 19 Nov 2013 15:04:17 +0100 by phpDocumentor 1.4.3