JRule: Difference between revisions
From Joomla! Documentation
m clean up |
m preparing for archive only |
||
| Line 1: | Line 1: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/access/rule.php | libraries/joomla/access/rule.php | ||
| Line 32: | Line 30: | ||
===Examples=== | ===Examples=== | ||
=== Code Examples === | |||
<dpl> | <dpl> | ||
noresultsheader=\n | noresultsheader=\n | ||
category=JRule | category=JRule | ||
namespace=CodeExample | |||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
Latest revision as of 02:02, 25 March 2017
Defined in
libraries/joomla/access/rule.php
Methods
| Method name | Description |
|---|---|
| __construct | Constructor. |
| getData | Get the data for the action. |
| mergeIdentities | Merges the identities |
| mergeIdentity | Merges the value for an identity. |
| allow | Checks that this action can be performed by an identity. |
| __toString | Convert this object into a JSON encoded string. |
Importing
jimport( 'joomla.access.rule' );
Examples
Code Examples