API15

JFactory/getACL

From Joomla! Documentation

< API15:JFactory
Revision as of 07:54, 25 March 2017 by Tom Hutchison (talk | contribs) (links)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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]

Get an authorization object

Syntax[edit]

& getACL()


Returns[edit]

object

Defined in[edit]

libraries/joomla/factory.php

Importing[edit]

jimport( 'joomla.factory' );

Source Body[edit]

function &getACL( )
{
        static $instance;

        if (!is_object($instance)) {
                $instance = JFactory::_createACL();
        }

        return $instance;
}


Examples[edit]

Code Examples[edit]