API15:JController/setAccessControl
From Joomla! Documentation
Description
Sets the access control levels.
[<! removed edit link to red link >]
<! 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 edit link to red link >] <! removed transcluded page call, red link never existed >
Examples
Code Examples