Actions

API15

JAuthorization/addACL

From Joomla! Documentation

< API15:JAuthorization
Revision as of 08:44, 12 May 2013 by JoomlaWikiBot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

Contents

Description

This is a temporary function to allow 3PD's to add basic ACL checks for their modules and components. NOTE: this information will be compiled in the db in future versions

[<! removed edit link to red link >]

<! removed transcluded page call, red link never existed >

Syntax

addACL($aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value=NULL, $axo_value=NULL, $return_value=NULL)
Parameter Name Default Value Description
$aco_section_value The ACO section value
$aco_value The ACO value
$aro_section_value The ARO section value
$aro_value The ARO section
$axo_section_value NULL The AXO section value (optional)
$axo_value NULL The AXO section value (optional)
$return_value NULL The return value for the ACL (optional)

Defined in

libraries/joomla/user/authorization.php

Importing

jimport( 'joomla.user.authorization' );

Source Body

function addACL( $aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value=NULL, $axo_value=NULL, $return_value=NULL )
{
        $this->acl[] = array( $aco_section_value, $aco_value, $aro_section_value, $aro_value, $axo_section_value, $axo_value, $return_value );
        $this->acl_count++;
}

[<! removed edit link to red link >] <! removed transcluded page call, red link never existed >

Examples

<CodeExamplesForm />