getAcl() public méthode

Fetch the resource ACL.
public getAcl ( ) : array
Résultat array ACL for this resource.
Exemple #1
0
 public function testMethodGetaclHasResultArrayTheResourcePermissions()
 {
     $perms = new stdClass();
     $perms->acl = array('a' => 'a');
     $folder = $this->getMock('Horde_Kolab_Storage_Folder');
     $folder->expects($this->once())->method('getPermission')->will($this->returnValue($perms));
     $resource = new Horde_Kolab_FreeBusy_Resource_Kolab($folder);
     $this->assertEquals($perms->acl, $resource->getAcl());
 }