CoreFiles by mySites.guru
rule.php39 lines, 1,007 bytes, from Joomla_3.2.0-Stable-Full_Package.zip
Raw History Compare with 3.1.6
md5
614a03051a1c74b61be2a2fb22c3b11a
sha1
638a3609a6eb831d0a9bc95223a8a7f93a3b7216
sha256
22382fcd31b2d765b01314b08a1b7554c2c428e44a7fa48c0e6420edb8d503d8
<?php
/**
 * @package     Joomla.Legacy
 * @subpackage  Access
 *
 * @copyright   Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved.
 * @license     GNU General Public License version 2 or later; see LICENSE
 */

defined('JPATH_PLATFORM') or die;

/**
 * Deprecated class placeholder. You should use JAccessRule instead.
 *
 * @package     Joomla.Legacy
 * @subpackage  Access
 * @since       11.1
 * @deprecated  12.3 (Platform) & 4.0 (CMS)
 * @codeCoverageIgnore
 */
class JRule extends JAccessRule
{
	/**
	 * Constructor.
	 *
	 * The input array must be in the form: array(-42 => true, 3 => true, 4 => false)
	 * or an equivalent JSON encoded string.
	 *
	 * @param   mixed  $identities  A JSON format string (probably from the database) or a named array.
	 *
	 * @since   11.1
	 * @deprecated  12.3
	 */
	public function __construct($identities)
	{
		JLog::add('JRule is deprecated. Use JAccessRule instead.', JLog::WARNING, 'deprecated');
		parent::__construct($identities);
	}
}

The same content is in 5 releases, Joomla 3.1.4 to 3.2.1. See them all, or every version of this file.