getAcl() публичный Метод

Retrieve the access rights for a folder.
public getAcl ( string $folder ) : array
$folder string The folder to retrieve the ACL for.
Результат array An array of rights.
Пример #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);
 }
Пример #2
0
 /**
  * Retrieve the access rights for a folder.
  *
  * @param string $folder The folder to retrieve the ACL for.
  *
  * @return array An array of rights.
  */
 public function getAcl($folder)
 {
     return $this->_driver->getAcl($folder);
 }