API15

Difference between revisions of "JAuthorization/addACL"

From Joomla! Documentation

< API15:JAuthorization
(New page: ===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 version...)
 
m (removing red link to edit, no existant pages)
Line 3: Line 3:
  
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[Description:JAuthorization/addACL|Edit Descripton]]<nowiki>]</nowiki>
+
<nowiki>[<! removed edit link to red link >]</nowiki>
 
</span>
 
</span>
  
{{Description:JAuthorization/addACL}}
+
<! removed transcluded page call, red link never existed >
  
 
===Syntax===
 
===Syntax===
Line 61: Line 61:
  
 
<span class="editsection" style="font-size:76%;">
 
<span class="editsection" style="font-size:76%;">
<nowiki>[</nowiki>[[SeeAlso:JAuthorization/addACL|Edit See Also]]<nowiki>]</nowiki>
+
<nowiki>[<! removed edit link to red link >]</nowiki>
 
</span>
 
</span>
{{SeeAlso:JAuthorization/addACL}}
+
<! removed transcluded page call, red link never existed >
  
 
===Examples===
 
===Examples===
Line 76: Line 76:
 
  format= ,,,
 
  format= ,,,
 
</dpl>
 
</dpl>
 +
[[Category:Archived pages API15]]

Revision as of 08:44, 12 May 2013

The "API15" 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.

Description[edit]

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[edit]

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[edit]

libraries/joomla/user/authorization.php

Importing[edit]

jimport( 'joomla.user.authorization' );

Source Body[edit]

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[edit]

<CodeExamplesForm />