setAcl() public method

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.
return null
Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
File: Base.php Progetto: 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);
 }