API17

Difference between revisions of "JRules"

From Joomla! Documentation

(Bulk upload by Doxiki2)
 
(Layout updates)
Line 6: Line 6:
 
===Defined in===
 
===Defined in===
 
libraries/joomla/access/rules.php
 
libraries/joomla/access/rules.php
 +
* see source code in [[jplatform:access/rules.php|BitBucket]]
 
===Subpackage===
 
===Subpackage===
 
[[Subpackage Access/11.1|Access]]
 
[[Subpackage Access/11.1|Access]]
Line 44: Line 45:
 
<source lang="php">jimport( 'joomla.access.rules' );</source>
 
<source lang="php">jimport( 'joomla.access.rules' );</source>
 
===See also===
 
===See also===
 +
* JRules source code in [[jplatform:access/rules.php|BitBucket]]
 
* [[JRules|Other versions of this class]]
 
* [[JRules|Other versions of this class]]
 
{{SeeAlso:JRules}}
 
{{SeeAlso:JRules}}

Revision as of 18:01, 23 April 2011

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.

[Edit Descripton] Template:Description:JRules

Defined in[edit]

libraries/joomla/access/rules.php

Subpackage[edit]

Access

Extends[edit]

Extended by[edit]

Methods[edit]

Method name Description
__construct Constructor.
__toString Magic method to convert the object to JSON string representation.
allow Checks that an action can be performed by an identity.
getAllowed Get the allowed actions for an identity.
getData Get the data for the action.
merge Method to merge actions with this object.
mergeAction
mergeCollection Method to merge a collection of .

Importing[edit]

jimport( 'joomla.access.rules' );

See also[edit]

Template:SeeAlso:JRules [Edit See Also]

Examples[edit]

<CodeExamplesForm />