getMyAcl() public méthode

Retrieve the access rights the current user has on a folder.
public getMyAcl ( string $folder ) : string
$folder string The folder to retrieve the user ACL for.
Résultat string The user rights.
Exemple #1
0
 /**
  * Retrieve the access rights the current user has on a folder.
  *
  * @param string $folder The folder to retrieve the user ACL for.
  *
  * @return string The user rights.
  */
 public function getMyAcl($folder)
 {
     if (!$this->hasAclSupport()) {
         return 'lrid';
     }
     return $this->_driver->getMyAcl($folder);
 }
Exemple #2
0
 /**
  * Retrieve the access rights the current user has on a folder.
  *
  * @param string $folder The folder to retrieve the user ACL for.
  *
  * @return string The user rights.
  */
 public function getMyAcl($folder)
 {
     return $this->_driver->getMyAcl($folder);
 }