Difference between revisions of "JRule"
From Joomla! Documentation
(Updated to r1448:247ba8d88526) |
m (moving preparation) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 14: | Line 14: | ||
|- | |- | ||
|public | |public | ||
− | |[[JRule::__construct | + | |[[API17:JRule::__construct|__construct]] |
|Constructor. | |Constructor. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRule::__toString | + | |[[API17:JRule::__toString|__toString]] |
|Convert this object into a JSON encoded string. | |Convert this object into a JSON encoded string. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRule::allow | + | |[[API17:JRule::allow|allow]] |
|Checks that this action can be performed by an identity. | |Checks that this action can be performed by an identity. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRule::getData | + | |[[API17:JRule::getData|getData]] |
|Get the data for the action. | |Get the data for the action. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRule::mergeIdentities | + | |[[API17:JRule::mergeIdentities|mergeIdentities]] |
|Merges the identities. | |Merges the identities. | ||
|- | |- | ||
|public | |public | ||
− | |[[JRule::mergeIdentity | + | |[[API17:JRule::mergeIdentity|mergeIdentity]] |
|Merges the value for an identity. | |Merges the value for an identity. | ||
|- | |- | ||
Line 43: | Line 43: | ||
===See also=== | ===See also=== | ||
* {{JVer|11.1}} '''JRule source code''' on [[jplatform:access/rule.php|BitBucket]] | * {{JVer|11.1}} '''JRule source code''' on [[jplatform:access/rule.php|BitBucket]] | ||
− | * {{JVer|11.1}} Subpackage [[Subpackage Access | + | * {{JVer|11.1}} Subpackage [[API17:Subpackage Access|Access]] |
− | * [[JRule|Other versions of JRule]] | + | * [[API17:JRule|Other versions of JRule]] |
{{SeeAlso:JRule}} | {{SeeAlso:JRule}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
Line 60: | Line 60: | ||
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.
JRule[edit]
Description[edit]
Template:Description:JRule [Edit Descripton]
Methods[edit]
Visibility | Method name | Description |
---|---|---|
public | __construct | Constructor. |
public | __toString | Convert this object into a JSON encoded string. |
public | allow | Checks that this action can be performed by an identity. |
public | getData | Get the data for the action. |
public | mergeIdentities | Merges the identities. |
public | mergeIdentity | Merges the value for an identity. |
- Defined in libraries/joomla/access/rule.php
Importing[edit]
jimport( 'joomla.access.rule' );
See also[edit]
- JRule source code on BitBucket
- Subpackage Access
- Other versions of JRule
Template:SeeAlso:JRule [Edit See Also]
User contributed notes[edit]
<CodeExamplesForm />