API17:JRules
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
(Layout updates) |
||
| Line 6: | Line 6: | ||
===Defined in=== | ===Defined in=== | ||
libraries/joomla/access/rules.php | libraries/joomla/access/rules.php | ||
| + | * see source code in [[jplatform:access/rules.php|BitBucket]] | ||
===Subpackage=== | ===Subpackage=== | ||
[[Subpackage Access/11.1|Access]] | [[Subpackage Access/11.1|Access]] | ||
| Line 44: | Line 45: | ||
<source lang="php">jimport( 'joomla.access.rules' );</source> | <source lang="php">jimport( 'joomla.access.rules' );</source> | ||
===See also=== | ===See also=== | ||
| + | * JRules source code in [[jplatform:access/rules.php|BitBucket]] | ||
* [[JRules|Other versions of this class]] | * [[JRules|Other versions of this class]] | ||
{{SeeAlso:JRules}} | {{SeeAlso:JRules}} | ||
Revision as of 18:01, 23 April 2011
This Namespace has been archived - Please Do Not Edit or Create Pages in this namespace. Pages contain information for a Joomla! version which is no longer supported. It exists only as a historical reference, will not be improved and its content may be incomplete.
[Edit Descripton] Description:JRules
Defined in
libraries/joomla/access/rules.php
- see source code in BitBucket
Subpackage
Extends
Extended by
Methods
| Method name | Description |
|---|---|
| __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 | |
| mergeCollection | Method to merge a collection of . |
Importing
jimport( 'joomla.access.rules' );
See also
- JRules source code in BitBucket
- Other versions of this class
SeeAlso:JRules [Edit See Also]
Examples
<CodeExamplesForm />
