Exemplo n.º 1
0
 /**
  * Fetch the resource ACL.
  *
  * @return array ACL for this resource.
  *
  * @throws Horde_Kolab_FreeBusy_Exception If retrieving the ACL information
  *                                        failed.
  */
 public function getAcl()
 {
     if (!isset($this->_acl)) {
         $this->_acl = $this->_resource->getAcl();
     }
     return $this->_acl;
 }
Exemplo n.º 2
0
 /**
  * Fetch the resource ACL.
  *
  * @return array ACL for this resource.
  *
  * @throws Horde_Kolab_FreeBusy_Exception If retrieving the ACL information
  *                                        failed.
  */
 public function getAcl()
 {
     $acl = $this->_resource->getAcl();
     if (empty($acl)) {
         $this->_logger->debug(sprintf('No ACL found for %s', $this->_resource->getName()));
     } else {
         $this->_logger->debug(sprintf('ACL for %s is %s', $this->_resource->getName(), serialize($acl)));
     }
     return $acl;
 }