Horde_Perms_Permission_Kolab_Acl_User
extends Horde_Perms_Permission_Kolab_Acl
in package
Maps a single Kolab_Storage user ACL element to the Horde permission system.
Tags
Table of Contents
- $_id : string
- The user id.
- $_acl : string
- The ACL.
- __construct() : mixed
- Constructor.
- toHorde() : null
- Converts the ACL string to a Horde_Perms mask and stores it in the provided data array.
- convertAclToMask() : int
- Convert the Acl string to a Horde_Perms:: mask.
Properties
$_id
The user id.
protected
string
$_id
$_acl
The ACL.
private
string
$_acl
Methods
__construct()
Constructor.
public
__construct(string $acl, string $id) : mixed
Parameters
- $acl : string
-
The folder ACL element as provided by the driver.
- $id : string
-
The user id.
Return values
mixed —toHorde()
Converts the ACL string to a Horde_Perms mask and stores it in the provided data array.
public
toHorde(array<string|int, mixed> &$data) : null
Parameters
- $data : array<string|int, mixed>
-
The horde permission data.
Return values
null —convertAclToMask()
Convert the Acl string to a Horde_Perms:: mask.
protected
convertAclToMask() : int
Return values
int —The permission mask