Ejemplo n.º 1
0
 /**
  * Get an authorization object
  *
  * Returns a reference to the global {@link JAuthorization} object, only creating it
  * if it doesn't already exist.
  *
  * @access public
  * @return object JAuthorization
  */
 function &getACL()
 {
     static $instance;
     if (!is_object($instance)) {
         $instance = JFactory::_createACL();
     }
     return $instance;
 }