PHP Class Horde_Perms_Permission_Kolab_Element, horde

Afficher le fichier Open project: horde/horde Class Usage Examples

Protected Properties

Свойство Type Description
$_permission integer The permission.

Méthodes publiques

Méthode Description
__construct ( integer $permission ) Constructor.
fromHorde ( ) : string Convert the Horde_Perms:: mask to a Acl string.
getId ( ) : string Get the Kolab_Storage ACL id for this permission.
unsetInCurrent ( &$current ) Unset the element in the provided permission array.

Méthodes protégées

Méthode Description
convertMaskToAcl ( ) : string Convert the a Horde_Perms:: mask to a Acl string.

Method Details

__construct() public méthode

Constructor.
public __construct ( integer $permission )
$permission integer The folder permission as provided by Horde.

convertMaskToAcl() protected méthode

Convert the a Horde_Perms:: mask to a Acl string.
protected convertMaskToAcl ( ) : string
Résultat string The ACL

fromHorde() public méthode

Convert the Horde_Perms:: mask to a Acl string.
public fromHorde ( ) : string
Résultat string The ACL string.

getId() abstract public méthode

Get the Kolab_Storage ACL id for this permission.
abstract public getId ( ) : string
Résultat string The ACL string.

unsetInCurrent() abstract public méthode

Unset the element in the provided permission array.
abstract public unsetInCurrent ( &$current )

Property Details

$_permission protected_oe property

The permission.
protected int $_permission
Résultat integer