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
파일: Base.php 프로젝트: horde/horde
 /**
  * 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
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * 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);
 }