Actions

API17

Difference between revisions of "JRules"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
m (moving preparation)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
=={{JVer|11.1}} JRules==
 +
===Description===
 +
{{Description:JRules}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[Description:JRules|Edit Descripton]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[Description:JRules|Edit Descripton]]<nowiki>]</nowiki>
 
</span>
 
</span>
{{Description:JRules}}
 
===Defined in===
 
libraries/joomla/access/rules.php
 
===Subpackage===
 
[[Subpackage Access/11.1|Access]]
 
===Extends===
 
===Extended by===
 
 
===Methods===
 
===Methods===
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
 
|-
 
|-
 +
!Visibility
 
!Method name
 
!Method name
 
!Description
 
!Description
 
|-
 
|-
|[[JRules::__construct/11.1|__construct]]
+
|public
 +
|[[API17:JRules::__construct|__construct]]
 
|Constructor.  
 
|Constructor.  
 
|-
 
|-
|[[JRules::__toString/11.1|__toString]]
+
|public
 +
|[[API17:JRules::__toString|__toString]]
 
|Magic method to convert the object to JSON string representation.  
 
|Magic method to convert the object to JSON string representation.  
 
|-
 
|-
|[[JRules::allow/11.1|allow]]
+
|public
 +
|[[API17:JRules::allow|allow]]
 
|Checks that an action can be performed by an identity.  
 
|Checks that an action can be performed by an identity.  
 
|-
 
|-
|[[JRules::getAllowed/11.1|getAllowed]]
+
|public
 +
|[[API17:JRules::getAllowed|getAllowed]]
 
|Get the allowed actions for an identity.  
 
|Get the allowed actions for an identity.  
 
|-
 
|-
|[[JRules::getData/11.1|getData]]
+
|public
 +
|[[API17:JRules::getData|getData]]
 
|Get the data for the action.  
 
|Get the data for the action.  
 
|-
 
|-
|[[JRules::merge/11.1|merge]]
+
|public
 +
|[[API17:JRules::merge|merge]]
 
|Method to merge actions with this object.  
 
|Method to merge actions with this object.  
 
|-
 
|-
|[[JRules::mergeAction/11.1|mergeAction]]
+
|public
 +
|[[API17:JRules::mergeAction|mergeAction]]
 
|
 
|
 
|-
 
|-
|[[JRules::mergeCollection/11.1|mergeCollection]]
+
|public
 +
|[[API17:JRules::mergeCollection|mergeCollection]]
 
|Method to merge a collection of .  
 
|Method to merge a collection of .  
 
|-
 
|-
 
|}
 
|}
 +
* '''Defined in''' libraries/joomla/access/rules.php
 
===Importing===
 
===Importing===
 
<source lang="php">jimport( 'joomla.access.rules' );</source>
 
<source lang="php">jimport( 'joomla.access.rules' );</source>
 
===See also===
 
===See also===
* [[JRules|Other versions of this class]]
+
* {{JVer|11.1}} '''JRules source code''' on [[jplatform:access/rules.php|BitBucket]]
 +
* {{JVer|11.1}} Subpackage [[API17:Subpackage Access|Access]]
 +
* [[API17:JRules|Other versions of JRules]]
 
{{SeeAlso:JRules}}
 
{{SeeAlso:JRules}}
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
 
<nowiki>[</nowiki>[[SeeAlso:JRules|Edit See Also]]<nowiki>]</nowiki>
 
<nowiki>[</nowiki>[[SeeAlso:JRules|Edit See Also]]<nowiki>]</nowiki>
 
</span>
 
</span>
===Examples===
+
===User contributed notes===
 
<CodeExamplesForm />
 
<CodeExamplesForm />
 
<dpl>
 
<dpl>
Line 57: Line 65:
 
category=ClassExample
 
category=ClassExample
 
include=*
 
include=*
 +
namespace=CodeExample
 
format= ,,,
 
format= ,,,
 
</dpl>
 
</dpl>
<noinclude>[[Category:Platform]][[Category:Platform 11.1]][[Category:JRules]]</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 JRules

Description

Description:JRules [Edit Descripton]

Methods

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

jimport( 'joomla.access.rules' );

See also

  • Joomla 11.1 JRules source code on BitBucket
  • Joomla 11.1 Subpackage Access
  • Other versions of JRules

SeeAlso:JRules [Edit See Also]

User contributed notes

<CodeExamplesForm />