CoreFiles by mySites.guru
helper.php32 lines, 662 bytes, from Joomla_3.10.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha1
md5
996cfabcd70648b45a9f685a78bc4d3d
sha1
5d5f08659fae918938745d10ce6e3e42ae21c1f8
sha256
970492752543db5f4b0d5f709916ff5f8120e32253e9cc380ec104ab089ed430
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_search
 *
 * @copyright   (C) 2006 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Helper for 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 2 releases, Joomla 3.10.0-alpha2 to 3.10.0-alpha3. See them all, or every version of this file.