\Horde_Perms_Permission_Kolab_Element_Guest

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

Summary

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

Properties

$_permission

$_permission : integer

The permission.

Type

integer

Methods

__construct()

__construct(integer  $permission) 

Constructor.

Parameters

integer $permission

The folder permission as provided by Horde.

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