| API | Package | Class | phpDocumentor | Last reviewed | Doc status |
|---|---|---|---|---|---|
Joomla.Framework | JFactory | JFactory->getACL |
This method returns a reference to the global JAuthorization object, only creating it if it doesn’t already exist.
JAuthorization &getACL ()
Retrieve the number of objects that are in the current acl.
Example
$acl =& JFactory::getACL(); echo "There are ". $acl->acl_count ." objects in the acl.";
might produce:
Result
There are 92 objects in the acl.