API16

JRules: Difference between revisions

From Joomla! Documentation

Doxiki (talk | contribs)
New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JRules}} ===Defined in=== librari...
 
Doxiki (talk | contribs)
No edit summary
Line 36: Line 36:
|Magic method to convert the object to JSON string representation.
|Magic method to convert the object to JSON string representation.
|}
|}
===Importing===
===Importing===
<source lang="php">jimport( 'joomla.access.rules' );</source>
<source lang="php">jimport( 'joomla.access.rules' );</source>

Revision as of 09:56, 30 March 2010

[Edit Descripton] Template:Description:JRules

Defined in

libraries/joomla/access/rules.php

Methods

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

Importing

jimport( 'joomla.access.rules' );

[Edit See Also] Template:SeeAlso:JRules

Examples

<CodeExamplesForm />