JAccessRule
JAccessRule class.
Located in /libraries/joomla/access/rule.php (line 19)
JAccessRule (Subpackage Access)
| Class | Description |
|---|---|
JRule
|
Deprecated class placeholder. You should use JAccessRule instead. |
array
$data
= array() (line 27)
A named array
Constructor.
The input array must be in the form: array(-42 => true, 3 => true, 4 => false) or an equivalent JSON encoded string.
- mixed $identities: A JSON format string (probably from the database) or a named array.
- JRule::__construct() : Constructor.
Checks that this action can be performed by an identity.
The identity is an integer where +ve represents a user group, and -ve represents a user.
- mixed $identities: An integer or array of integers representing the identities to check.
Merges the identities
- mixed $identities: An integer or array of integers representing the identities to check.
Merges the values for an identity.
- integer $identity: The identity.
- boolean $allow: The value for the identity (true == allow, false == deny).
JAccessRule (Subpackage Access)