\JAccessRules
JAccessRules class.
Synopsis
class JAccessRules
{
- // members
- protected $data;
- // methods
- public void __construct()
- public array getData()
- public void mergeCollection()
- public void merge()
- public void mergeAction()
- public mixed allow()
- public JObject getAllowed()
- public string __toString()
Hierarchy
Extended by
Members
protected
- $data
—
array
A named array.
Methods
public
- __construct() — Constructor.
- __toString() — Magic method to convert the object to JSON string representation.
- allow() — Checks that an action can be performed by an identity.
- getAllowed() — Get the allowed actions for an identity.
- getData() — Get the data for the action.
- merge() — Method to merge actions with this object.
- mergeAction() — Merges an array of identities for an action.
- mergeCollection() — Method to merge a collection of JAccessRules.