\Horde_Perms_Permission_Kolab_Element_Group

Maps a single Horde group permission element to a Kolab_Storage ACL.

Summary

Methods
Properties
Constants
__construct()
fromHorde()
getId()
unsetInCurrent()
No public properties found
No constants found
convertMaskToAcl()
$_permission
$_horde_id
$_kolab_id
N/A
No private methods found
No private properties found
N/A

Properties

$_permission

$_permission : integer

The permission.

Type

integer

$_horde_id

$_horde_id : string

The Horde group id.

Type

string

$_kolab_id

$_kolab_id : string

The Kolab group id.

Type

string

Methods

__construct()

__construct(integer  $permission, string  $id, \Horde_Group_Base  $groups) 

Constructor.

Parameters

integer $permission

The folder permission as provided by Horde.

string $id

The group id.

\Horde_Group_Base $groups

The horde group handler.

fromHorde()

fromHorde() : string

Convert the Horde_Perms:: mask to a Acl string.

Returns

string —

The ACL string.

getId()

getId() : string

Get the Kolab_Storage ACL id for this permission.

Returns

string —

The ACL string.

unsetInCurrent()

unsetInCurrent(  $current) 

Unset the element in the provided permission array.

Parameters

$current

convertMaskToAcl()

convertMaskToAcl() : string

Convert the a Horde_Perms:: mask to a Acl string.

Returns

string —

The ACL