Actions

API16

Difference between revisions of "JRules"

From Joomla! Documentation

(New page: <span class="editsection" style="font-size:76%;"> <nowiki>[</nowiki>Edit Descripton<nowiki>]</nowiki> </span> {{Description:JRules}} ===Defined in=== librari...)
 
 
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>

Latest revision as of 04:56, 30 March 2010

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.

[Edit Descripton] Description:JRules

Contents

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] SeeAlso:JRules

Examples

<CodeExamplesForm />