API16

API16:JRules

From Joomla! Documentation

Defined in

libraries/joomla/access/rules.php

Methods

Method name Description
__construct Constructor.
getData Get the data for the action.
mergeCollection Method to merge a collection of JRules.
merge Method to merge actions with this object.
mergeAction
allow Checks that an action can be performed by an identity.
getAllowed Get the allowed actions for an identity.
__toString Magic method to convert the object to JSON string representation.

Importing

jimport( 'joomla.access.rules' );



Examples

Code Examples