CoreFiles by mySites.guru
site.php35 lines, 935 bytes, from Joomla_1.5.2-Stable-Full_Package.zip
Raw History Compare with 1.5.1
md5
d02c9c9238349c9b823c3561f33630d8
sha1
8488eeb549a263713f6fe680eadf5684d2548bb0
sha256
604b7e1fb853ad13b04601c02e66f4445fb44420a10a0788c032cf103b1528be
<?php
/**
 * @version		$Id: site.php 9764 2007-12-30 07:48:11Z ircmaxell $
 * @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 4 releases, Joomla 1.5.0 to 1.5.3. See them all, or every version of this file.