CoreFiles by mySites.guru
helper.php34 lines, 743 bytes, from Joomla_3.2.0-Stable-Full_Package.zip
Raw History Compare with 3.1.6
md5
a6d0fc649f21889c3398a4979ade75a7
sha1
f6cc18c779918ec7bfd4c08661ae986b7402f6bb
sha256
39f5253ab7e8f54f55db19cba75af3f7f7787082ef259279c4191b122d0d5453
<?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 7 releases, Joomla 3.1.0 to 3.2.1. See them all, or every version of this file.