CoreFiles by mySites.guru
SearchHelper.php34 lines, 718 bytes, from Joomla_4.0.0-alpha2-Alpha-Full_Package.zip
Raw History Compare with 3.10.0-alpha9
md5
63d988eaff843a128c6803dcf99626d3
sha1
f6522f4e8d7021978b62dfffee25ee6805815c09
sha256
7a6f5bce55d0d8805e814ec1cd1a450c963a8b9dd0b90e1917915b648d6b7919
<?php
/**
 * @package     Joomla.Site
 * @subpackage  mod_search
 *
 * @copyright   Copyright (C) 2005 - 2017 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Module\Search\Site\Helper;

defined('_JEXEC') or die;

/**
 * Helper for mod_search
 *
 * @since  1.5
 */
class SearchHelper
{
	/**
	 * 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);
	}
}

No other release has this exact content. See every version of this file.