Joomla Platform
13.1
Documentation des API du framework Joomla Platform
|
Fonctions membres publiques | |
__construct ($identities) | |
getData () | |
mergeIdentities ($identities) | |
mergeIdentity ($identity, $allow) | |
allow ($identities) | |
__toString () |
Attributs protégés | |
$data = array() |
JAccessRule::__construct | ( | $identities | ) |
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. |
Réimplémentée dans JRule.
Définition à la ligne 39 du fichier rule.php.
JAccessRule::__toString | ( | ) |
JAccessRule::allow | ( | $identities | ) |
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. |
Définition à la ligne 129 du fichier rule.php.
JAccessRule::getData | ( | ) |
Get the data for the action.
JAccessRule::mergeIdentities | ( | $identities | ) |
Merges the identities
mixed | $identities | An integer or array of integers representing the identities to check. |
Définition à la ligne 71 du fichier rule.php.
JAccessRule::mergeIdentity | ( | $identity, | |
$allow | |||
) |
Merges the values for an identity.
integer | $identity | The identity. |
boolean | $allow | The value for the identity (true == allow, false == deny). |
Définition à la ligne 97 du fichier rule.php.