CoreFiles by mySites.guru
site.php35 lines, 934 bytes, from Joomla_1.5.4-Stable-Full_Package.zip
Raw History Compare with 1.5.3
md5
e326d497ae4274a4504fc6306261c340
sha1
544891a2ef32c83ba79b881e99ffa7e1d5b2266b
sha256
2d3387235c151595a127beef5fa8028c5dd6ed6e46d9ab9388478a25460828c8
<?php
/**
 * @version		$Id: site.php 10381 2008-06-01 03:35:53Z pasamio $
 * @package  Joomla
 * @subpackage	Search
 * @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
 * @license		GNU/GPL, see LICENSE.php
 * Joomla! is free software. This version may have been modified pursuant to the
 * GNU General Public License, and as distributed it includes or is derivative
 * of works licensed under the GNU General Public License or other free or open
 * source software licenses. See COPYRIGHT.php for copyright notices and details.
 */

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

	/**
	 * False method to fool the frontend search plugins
	 */
	function getItems()
	{
		return array();
	}
}

The same content is in 8 releases, Joomla 1.5.4 to 1.5.11. See them all, or every version of this file.