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()
 {
     $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;
 }
Exemplo n.º 2
0
 /**
  * Return the name of the resource.
  *
  * @return string The name for the resource.
  */
 public function getName()
 {
     return $this->_resource->getName();
 }