API17:JRule
From Joomla! Documentation
(Difference between revisions)
(Bulk upload by Doxiki2) |
m (→User contributed notes: bad link repair) |
||
| (2 intermediate revisions by one user not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| + | =={{JVer|11.1}} JRule== | ||
| + | ===Description=== | ||
| + | {{Description:JRule}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[Description:JRule|Edit Descripton]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[Description:JRule|Edit Descripton]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
===Methods=== | ===Methods=== | ||
{| class="wikitable sortable" | {| class="wikitable sortable" | ||
|- | |- | ||
| + | !Visibility | ||
!Method name | !Method name | ||
!Description | !Description | ||
|- | |- | ||
| + | |public | ||
|[[JRule::__construct/11.1|__construct]] | |[[JRule::__construct/11.1|__construct]] | ||
|Constructor. | |Constructor. | ||
|- | |- | ||
| + | |public | ||
|[[JRule::__toString/11.1|__toString]] | |[[JRule::__toString/11.1|__toString]] | ||
|Convert this object into a JSON encoded string. | |Convert this object into a JSON encoded string. | ||
|- | |- | ||
| + | |public | ||
|[[JRule::allow/11.1|allow]] | |[[JRule::allow/11.1|allow]] | ||
|Checks that this action can be performed by an identity. | |Checks that this action can be performed by an identity. | ||
|- | |- | ||
| + | |public | ||
|[[JRule::getData/11.1|getData]] | |[[JRule::getData/11.1|getData]] | ||
|Get the data for the action. | |Get the data for the action. | ||
|- | |- | ||
| + | |public | ||
|[[JRule::mergeIdentities/11.1|mergeIdentities]] | |[[JRule::mergeIdentities/11.1|mergeIdentities]] | ||
|Merges the identities. | |Merges the identities. | ||
|- | |- | ||
| + | |public | ||
|[[JRule::mergeIdentity/11.1|mergeIdentity]] | |[[JRule::mergeIdentity/11.1|mergeIdentity]] | ||
|Merges the value for an identity. | |Merges the value for an identity. | ||
|- | |- | ||
|} | |} | ||
| + | * '''Defined in''' libraries/joomla/access/rule.php | ||
===Importing=== | ===Importing=== | ||
<source lang="php">jimport( 'joomla.access.rule' );</source> | <source lang="php">jimport( 'joomla.access.rule' );</source> | ||
===See also=== | ===See also=== | ||
| − | * [[JRule|Other versions of | + | * {{JVer|11.1}} '''JRule source code''' on [[jplatform:access/rule.php|BitBucket]] |
| + | * {{JVer|11.1}} Subpackage [[Subpackage Access/11.1|Access]] | ||
| + | * [[JRule|Other versions of JRule]] | ||
{{SeeAlso:JRule}} | {{SeeAlso:JRule}} | ||
<span class="editsection" style="font-size:76%;"> | <span class="editsection" style="font-size:76%;"> | ||
<nowiki>[</nowiki>[[SeeAlso:JRule|Edit See Also]]<nowiki>]</nowiki> | <nowiki>[</nowiki>[[SeeAlso:JRule|Edit See Also]]<nowiki>]</nowiki> | ||
</span> | </span> | ||
| − | === | + | ===User contributed notes=== |
<CodeExamplesForm /> | <CodeExamplesForm /> | ||
<dpl> | <dpl> | ||
| Line 51: | Line 57: | ||
category=ClassExample | category=ClassExample | ||
include=* | include=* | ||
| + | namespace=CodeExample | ||
format= ,,, | format= ,,, | ||
</dpl> | </dpl> | ||
| − | <noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JRule]]</noinclude> | + | <noinclude>[[Category:Platform JClasses]][[Category:Platform 11.1]][[Category:JRule]]</noinclude> |
Revision as of 14:01, 29 August 2012
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.
JRule
Description
Description:JRule [Edit Descripton]
Methods
| 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
jimport( 'joomla.access.rule' );
See also
-
JRule source code on BitBucket
-
Subpackage Access
- Other versions of JRule
User contributed notes
<CodeExamplesForm />
