Exemplo n.º 1
0
 /**
  * Fetch the access controls on specific attributes of this
  * resource.
  *
  * @return array Attribute ACL for this resource.
  *
  * @throws Horde_Kolab_FreeBusy_Exception If retrieving the attribute ACL
  *                                        information failed.
  */
 public function getAttributeAcl()
 {
     if (!isset($this->_attribute_acl)) {
         $this->_attribute_acl = $this->_resource->getAttributeAcl();
     }
     return $this->_attribute_acl;
 }
Exemplo n.º 2
0
 /**
  * Fetch the access controls on specific attributes of this
  * resource.
  *
  * @return array Attribute ACL for this resource.
  *
  * @throws Horde_Kolab_FreeBusy_Exception If retrieving the attribute ACL
  *                                        information failed.
  */
 public function getAttributeAcl()
 {
     $attribute_acl = $this->_resource->getAttributeAcl();
     if (empty($attribute_acl)) {
         $this->_logger->debug(sprintf('No attribute ACL found for %s', $this->_resource->getName()));
     } else {
         $this->_logger->debug(sprintf('Attribute ACL for %s is %s', $this->_resource->getName(), serialize($attribute_acl)));
     }
     return $attribute_acl;
 }