CoreFiles by mySites.guru
helper.php36 lines, 751 bytes, from Joomla_3.2.4-Stable-Full_Package.zip
Raw History Compare with 3.2.3
md5
72694ed97bfc4ea8b8c4bf0b15815567
sha1
ed0a0693083193c94e0d47eb5cfcc466800ce1d6
sha256
7afa966a3a3ea8fd683db8210e9ecfa83187856dd6faaac09dd368e3fba14af3
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_search
 *
 * @copyright   Copyright (C) 2005 - 2014 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)
	{
		$img = JHtml::_('image', 'searchButton.gif', $button_text, null, true, true);

		return $img;
	}
}

The same content is in 12 releases, Joomla 3.2.4 to 3.4.0-alpha. See them all, or every version of this file.