Actions

API15

JFactory/getACL

From Joomla! Documentation

< API15:JFactory
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

Get an authorization object

[Edit Descripton]

Syntax

& getACL()


Returns

object

Defined in

libraries/joomla/factory.php

Importing

jimport( 'joomla.factory' );

Source Body

function &getACL( )
{
        static $instance;
 
        if (!is_object($instance)) {
                $instance = JFactory::_createACL();
        }
 
        return $instance;
}

[Edit See Also]

Examples

<CodeExamplesForm />