CoreFiles by mySites.guru
helper.php34 lines, 743 bytes, from Joomla_3.0.3-Stable-Full_Package.zip
Raw History Compare with 3.0.2
md5
d3a015817fe8856ddc4caf5bfbd15a0e
sha1
5baf8e5f16e8cc614948d730b6008ce995abd650
sha256
cf6729d64565ffeecacd23c14e52813e6d6cfd21631babe76d5bca27082f0efe
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_search
 *
 * @copyright   Copyright (C) 2005 - 2013 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.0.3 to 3.0.4. See them all, or every version of this file.