CoreFiles by mySites.guru
helper.php33 lines, 777 bytes, from Joomla_1.7.0-Stable-Full_Package.zip
Raw History Compare with 1.6.6
md5
5711029ed682a56c434817b89c004363
sha1
1256a09d9c6ee862dbde5353a2d7ffe709b2de29
sha256
b13b46030fec7d90d008f57763e7bf221b28660503613758966f35fac1463793
<?php
/**
 * @version		$Id: helper.php 21020 2011-03-27 06:52:01Z infograf768 $
 * @package		Joomla.Site
 * @subpackage	mod_search
 * @copyright	Copyright (C) 2005 - 2011 Open Source Matters, Inc. All rights reserved.
 * @license		GNU General Public License version 2 or later; see LICENSE.txt
 */

// no direct access
defined('_JEXEC') or die;

/**
 * @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 8 releases, Joomla 1.6.2 to 1.7.2. See them all, or every version of this file.