getAttributeAcl() public method

Fetch the access controls on specific attributes of this resource.
public getAttributeAcl ( ) : array
return array Attribute ACL for this resource.
Example #1
0
 public function testMethodGetattributeaclThrowsException()
 {
     $folder = $this->getMock('Horde_Kolab_Storage_Folder');
     $resource = new Horde_Kolab_FreeBusy_Resource_Kolab($folder);
     try {
         $resource->getAttributeAcl();
         $this->fail('The resource did not fail!');
     } catch (Horde_Kolab_FreeBusy_Exception $e) {
         $this->assertEquals('There is no generic definition for attribute ACL available!', $e->getMessage());
     }
 }