CoreFiles by mySites.guru
helper.php34 lines, 743 bytes, from Joomla_3.2.2-Stable-Full_Package.zip
Raw History Compare with 3.2.1
md5
3c7a88819c570738e4e1e5571d5035ed
sha1
1a84e40dd00af89b0b6620857e5d7b3769e6e78d
sha256
09daef0ce26ca18ed29efc13985cfab920564c09a94cb57eab14e599d62291f4
<?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 2 releases, Joomla 3.2.2 to 3.2.3. See them all, or every version of this file.