API16

API16:JController/setAccessControl

From Joomla! Documentation

Description

Sets the access control levels.


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

Syntax

setAccessControl($section, $value=null)
Parameter Name Default Value Description
$section The ACO section (eg, the component).
$value null The ACO section value (if using a constant value).

Returns

void

Defined in

libraries/joomla/application/component/controller.php

Importing

jimport( 'joomla.application.component.controller' );

Source Body

function setAccessControl($section, $value = null)
{
        $this->_acoSection = $section;
        $this->_acoSectionValue = $value;
}


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

Examples

Code Examples