Difference between revisions of "JRules"
From Joomla! Documentation
m (JoomlaWikiBot moved page JRules/11.1 to API17:JRules without leaving a redirect: Robot: Moved page) |
m (moving preparation) |
||
(One intermediate revision by the same user not shown) | |||
Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
− | |[[JRules::__construct | + | |[[API17:JRules::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRules::__toString | + | |[[API17:JRules::__toString|__toString]] |
|Magic method to convert the object to JSON string representation. | |Magic method to convert the object to JSON string representation. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRules::allow | + | |[[API17:JRules::allow|allow]] |
|Checks that an action can be performed by an identity. | |Checks that an action can be performed by an identity. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRules::getAllowed | + | |[[API17:JRules::getAllowed|getAllowed]] |
|Get the allowed actions for an identity. | |Get the allowed actions for an identity. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRules::getData | + | |[[API17:JRules::getData|getData]] |
|Get the data for the action. | |Get the data for the action. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRules::merge | + | |[[API17:JRules::merge|merge]] |
|Method to merge actions with this object. | |Method to merge actions with this object. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRules::mergeAction | + | |[[API17:JRules::mergeAction|mergeAction]] |
| | | | ||
|- | |- | ||
|public | |public | ||
− | |[[JRules::mergeCollection | + | |[[API17:JRules::mergeCollection|mergeCollection]] |
|Method to merge a collection of . | |Method to merge a collection of . | ||
|- | |- | ||
Line 51: | Line 51: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JRules source code''' on [[jplatform:access/rules.php|BitBucket]] | * {{JVer|11.1}} '''JRules source code''' on [[jplatform:access/rules.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Access | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Access|Access]] |
− | * [[JRules|Other versions of JRules]] | + | * [[API17:JRules|Other versions of JRules]] |
{{SeeAlso:JRules}} | {{SeeAlso:JRules}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Line 68: | Line 68: | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
− | <noinclude> | + | <noinclude>[[Category:Platform 11.1]][[Category:Archived pages API17]]</noinclude> |
Revision as of 21:26, 11 May 2013
The "API17" 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.
JRules[edit]
Description[edit]
Template:Description:JRules [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | __toString | Magic method to convert the object to JSON string representation. |
public | allow | Checks that an action can be performed by an identity. |
public | getAllowed | Get the allowed actions for an identity. |
public | getData | Get the data for the action. |
public | merge | Method to merge actions with this object. |
public | mergeAction | |
public | mergeCollection | Method to merge a collection of . |
- Defined in libraries/joomla/access/rules.php
Importing[edit]
jimport( 'joomla.access.rules' );
See also[edit]
- JRules source code on BitBucket
- Subpackage Access
- Other versions of JRules
Template:SeeAlso:JRules [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />