JFactory/getACL

From Joomla! Documentation

< JFactory
Revision as of 19:45, 23 November 2008 by Chris Davenport (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Returns a reference to the global authorisation object, only creating it if it doesn't already exist. The object returned will be of type JAuthorization.

Syntax

object JAuthorization getACL()

Example

In this example, the global authorisation object is retrieved. TODO: Need a more useful example.

$acl =& JFactory::getACL();

See also

Personal tools