CoreFiles by mySites.guru
site.php44 lines, 770 bytes, from Joomla_3.4.0-alpha-Alpha-Full_Package.zip
Raw History Compare with 3.3.6
md5
19f9adf32cf3b06063610b6fcbe9ab38
sha1
91e3c27884cd81a653b1ef32f776174a33589d9d
sha256
63fc0c97cbdc35e0dfa6912a195399b6d804551013b44f69053513c0e63e0fc0
<?php
/**
 * @package     Joomla.Administrator
 * @subpackage  com_search
 *
 * @copyright   Copyright (C) 2005 - 2014 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

defined('_JEXEC') or die;

/**
 * Mock JSite class used to fool the frontend search plugins because they route the results.
 *
 * @since  1.5
 */
class JSite extends JObject
{
	/**
	 * False method to fool the frontend search plugins.
	 *
	 * @return  JSite
	 *
	 * @since  1.5
	 */
	public function getMenu()
	{
		$result = new JSite;

		return $result;
	}

	/**
	 * False method to fool the frontend search plugins.
	 *
	 * @return  array
	 *
	 * @since  1.5
	 */
	public function getItems()
	{
		return array();
	}
}

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