Horde_Kolab_Storage_Driver::getAcl PHP Méthode

getAcl() public méthode

Retrieve the access rights for a folder.
public getAcl ( string $folder ) : array
$folder string The folder to retrieve the ACL for.
Résultat array An array of rights.
    public function getAcl($folder);

Usage Example

Exemple #1
0
 /**
  * Retrieve the all access rights on a folder.
  *
  * @param string $folder The folder to retrieve the ACL for.
  *
  * @return string The folder rights.
  */
 public function getAllAcl($folder)
 {
     if (!$this->hasAclSupport()) {
         return array($this->_driver->getAuth() => 'lrid');
     }
     return $this->_driver->getAcl($folder);
 }
All Usage Examples Of Horde_Kolab_Storage_Driver::getAcl