JRules: Difference between revisions
From Joomla! Documentation
No edit summary |
m clean up |
||
| Line 1: | Line 1: | ||
{{subst:Description:JRules}} | |||
{{Description:JRules}} | |||
===Defined in=== | ===Defined in=== | ||
| Line 40: | Line 37: | ||
<source lang="php">jimport( 'joomla.access.rules' );</source> | <source lang="php">jimport( 'joomla.access.rules' );</source> | ||
{{subst:SeeAlso:JRules}} | |||
{{SeeAlso:JRules}} | |||
===Examples=== | ===Examples=== | ||
Revision as of 14:22, 24 March 2017
{{subst:Description:JRules}}
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' );
{{subst:SeeAlso:JRules}}
Examples
<CodeExamplesForm />