Actions

API17

Difference between revisions of "JRule"

From Joomla! Documentation

(Layout updates)
m (moving preparation)
 
(4 intermediate revisions by 2 users 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>
{{Description:JRule}}
 
===Defined in===
 
libraries/joomla/access/rule.php
 
* see source code in [[jplatform:access/rule.php|BitBucket]]
 
===Subpackage===
 
[[Subpackage Access/11.1|Access]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JRule::__construct/11.1|__construct]]
+
|public
 +
|[[API17:JRule::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
|[[JRule::__toString/11.1|__toString]]
+
|public
 +
|[[API17:JRule::__toString|__toString]]
 
|Convert this object into a JSON encoded string.  
 
|Convert this object into a JSON encoded string.  
 
|-
 
|-
|[[JRule::allow/11.1|allow]]
+
|public
 +
|[[API17:JRule::allow|allow]]
 
|Checks that this action can be performed by an identity.  
 
|Checks that this action can be performed by an identity.  
 
|-
 
|-
|[[JRule::getData/11.1|getData]]
+
|public
 +
|[[API17:JRule::getData|getData]]
 
|Get the data for the action.  
 
|Get the data for the action.  
 
|-
 
|-
|[[JRule::mergeIdentities/11.1|mergeIdentities]]
+
|public
 +
|[[API17:JRule::mergeIdentities|mergeIdentities]]
 
|Merges the identities.  
 
|Merges the identities.  
 
|-
 
|-
|[[JRule::mergeIdentity/11.1|mergeIdentity]]
+
|public
 +
|[[API17:JRule::mergeIdentity|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 source code in [[jplatform:access/rule.php|BitBucket]]
+
* {{JVer|11.1}} '''JRule source code''' on [[jplatform:access/rule.php|BitBucket]]
* [[JRule|Other versions of this class]]
+
* {{JVer|11.1}} Subpackage [[API17:Subpackage Access|Access]]
 +
* [[API17: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>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 53: 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 11.1]][[Category:Archived pages API17]]</noinclude>

Latest revision as of 21:26, 11 May 2013

Replacement filing cabinet.png
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.

Joomla 11.1 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

SeeAlso:JRule [Edit See Also]

User contributed notes

<CodeExamplesForm />