Horde_Perms_Permission_Kolab_Acl
in package
Maps a single Kolab_Storage ACL element to the Horde permission system.
Copyright 2006-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
- $_acl : string
- The ACL.
- __construct() : mixed
- Constructor.
- toHorde() : null
- Convert the Acl string to a Horde_Perms:: mask and store it in the provided data array.
- convertAclToMask() : int
- Convert the Acl string to a Horde_Perms:: mask.
Properties
$_acl
The ACL.
private
string
$_acl
Methods
__construct()
Constructor.
public
__construct(string $acl) : mixed
Parameters
- $acl : string
-
The folder ACL element as provided by the driver.
Return values
mixed —toHorde()
Convert the Acl string to a Horde_Perms:: mask and store it in the provided data array.
public
abstract 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