CoreFiles by mySites.guru
helper.php34 lines, 735 bytes, from Joomla_3.7.0-alpha1-Alpha-Full_Package.zip
Raw History Compare with 3.6.0-alpha
md5
188c2e1024ef33f587e97646e1f908fb
sha1
815f9be3a538197f67dcc35c22454b168b1da417
sha256
b471e46b2aa4402a4663e238bb27ee193cc19e12eded677285e4861d8bdf84d8
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_search
 *
 * @copyright   Copyright (C) 2005 - 2016 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);
	}
}

No other release has this exact content. See every version of this file.