setAcl() 공개 메소드

Set the access rights for a folder.
public setAcl ( string $folder, string $user, string $acl ) : null
$folder string The folder to act upon.
$user string The user to set the ACL for.
$acl string The ACL.
리턴 null
예제 #1
0
파일: Base.php 프로젝트: jubinpatel/horde
 /**
  * Set the access rights for a folder.
  *
  * @param string $folder  The folder to act upon.
  * @param string $user    The user to set the ACL for.
  * @param string $acl     The ACL.
  *
  * @return NULL
  */
 public function setAcl($folder, $user, $acl)
 {
     $this->_driver->setAcl($folder, $user, $acl);
 }
예제 #2
0
파일: Base.php 프로젝트: horde/horde
 /**
  * Set the access rights for a folder.
  *
  * @param string $folder  The folder to act upon.
  * @param string $user    The user to set the ACL for.
  * @param string $acl     The ACL.
  *
  * @return NULL
  */
 public function setAcl($folder, $user, $acl)
 {
     $this->_failOnMissingAcl();
     return $this->_driver->setAcl($folder, $user, $acl);
 }