PHP Class Horde_Perms_Permission_Kolab_Element, horde

显示文件 Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_permission integer The permission.

Public Methods

Method 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.

Protected Methods

Method Description
convertMaskToAcl ( ) : string Convert the a Horde_Perms:: mask to a Acl string.

Method Details

__construct() public method

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

convertMaskToAcl() protected method

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

fromHorde() public method

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

getId() abstract public method

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

unsetInCurrent() abstract public method

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

Property Details

$_permission protected_oe property

The permission.
protected int $_permission
return integer