CoreFiles by mySites.guru
helper.php32 lines, 675 bytes, from Joomla_3.9.21-Stable-Full_Package.zip
Raw History Compare with 3.9.20
md5
41700df389d0f95292e9d66d56d2ca3e
sha1
d1645686d4f210f16ceb70a8f8ec0245328b6523
sha256
4f5bbba2339e54fee9390f2040d1796a4c36a286c033d10c39057af45a4e0732
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_search
 *
 * @copyright   Copyright (C) 2005 - 2020 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
 *
 * @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)
	{
		return JHtml::_('image', 'searchButton.gif', $button_text, null, true, true);
	}
}

The same content is in 16 releases, Joomla 3.9.15-rc to 3.10.0-alpha1. See them all, or every version of this file.