Documentation

Horde_Perms_Permission_Kolab_Element_Default extends Horde_Perms_Permission_Kolab_Element
in package

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

Tags
category

Horde

author

Gunnar Wrobel wrobel@pardus.de

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

Table of Contents

$_permission  : int
The permission.
__construct()  : mixed
Constructor.
fromHorde()  : string
Convert the Horde_Perms:: mask to a Acl string.
getId()  : string
Get the Kolab_Storage ACL id for this permission.
unsetInCurrent()  : mixed
Unset the element in the provided permission array.
convertMaskToAcl()  : string
Convert the a Horde_Perms:: mask to a Acl string.

Properties

$_permission

The permission.

protected int $_permission

Methods

__construct()

Constructor.

public __construct(int $permission) : mixed
Parameters
$permission : int

The folder permission as provided by Horde.

Return values
mixed

fromHorde()

Convert the Horde_Perms:: mask to a Acl string.

public fromHorde() : string
Return values
string

The ACL string.

getId()

Get the Kolab_Storage ACL id for this permission.

public getId() : string
Return values
string

The ACL string.

unsetInCurrent()

Unset the element in the provided permission array.

public unsetInCurrent(array<string|int, mixed> &$current) : mixed
Parameters
$current : array<string|int, mixed>

The current permission array.

Return values
mixed

convertMaskToAcl()

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

protected convertMaskToAcl() : string
Return values
string

The ACL

Search results