API16

JRules

From Joomla! Documentation

The "API16" namespace is an archived namespace. This page contains information for a Joomla! version which is no longer supported. It exists only as a historical reference, it will not be improved and its content may be incomplete and/or contain broken links.

Defined in[edit]

libraries/joomla/access/rules.php

Methods[edit]

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[edit]

jimport( 'joomla.access.rules' );



Examples[edit]

Code Examples[edit]