CoreFiles by mySites.guru
helper.php34 lines, 735 bytes, from Joomla_3.7.2-Stable-Full_Package.zip
Raw History Compare with 3.7.1
md5
469c820647a704be8433cf630b4e161b
sha1
6ec95a3ed9d0dc08122499fc17f3720dcd814bde
sha256
7082fef5891ac63877ed81552ecdb56cc111b792ba49309bc46962fe054ccd25
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_search
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Helper for mod_search
 *
 * @package     Joomla.Site
 * @subpackage  mod_search
 * @since       1.5
 */
class ModSearchHelper
{
	/**
	 * Display the search button as an image.
	 *
	 * @param   string  $button_text  The alt text for the button.
	 *
	 * @return  string  The HTML for the image.
	 *
	 * @since   1.5
	 */
	public static function getSearchImage($button_text)
	{
		return JHtml::_('image', 'searchButton.gif', $button_text, null, true, true);
	}
}

The same content is in 23 releases, Joomla 3.7.0-alpha2 to 3.8.0-beta1. See them all, or every version of this file.