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
파일: Timer.php 프로젝트: raz0rsdge/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->_timer->push();
     parent::setAcl($folder, $user, $acl);
     $this->_logger->debug(sprintf('REQUEST OUT IMAP: %s ms [setAcl]', floor($this->_timer->pop() * 1000)));
 }
예제 #2
0
파일: Log.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->_logger->debug(sprintf('Driver "%s": Setting ACL %s for user %s on folder %s.', $this->getDriverName(), $acl, $user, $folder));
     parent::setAcl($folder, $user, $acl);
     $this->_logger->debug(sprintf('Driver "%s": Successfully set ACL on folder %s to %s.', $this->getDriverName(), $folder, $acl));
 }