PHP Class Horde_Perms_Permission_Kolab, horde

Inheritance: extends Horde_Perms_Permission
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Свойство Type Description
$data string A cache for the folder acl settings. The cache holds the permissions in horde compatible format, not in the IMAP permission format.

Protected Properties

Свойство Type Description
$_groups Horde_Group_Base The group handler.
$_storage Horde_Perms_Permission_Kolab_Storage The Kolab Folder these permissions belong to.

Méthodes publiques

Méthode Description
__construct ( Horde_Perms_Permission_Kolab_Storage $storage, Horde_Group_Base $groups ) Constructor.
getCurrentPermissions ( ) Returns the current permission of the folder and stores the values in the cache.
getOwnerPermissions ( ) : integer Returns the permissions of the owner on this object.
getUserPermissions ( integer $perm = null ) : array Returns an array of all user permissions on this object.
save ( ) Saves the current permission values from the cache to the IMAP folder.

Method Details

__construct() public méthode

Constructor.
public __construct ( Horde_Perms_Permission_Kolab_Storage $storage, Horde_Group_Base $groups )
$storage Horde_Perms_Permission_Kolab_Storage The storage object represented by this permission instance.
$groups Horde_Group_Base The group handler.

getCurrentPermissions() public méthode

Returns the current permission of the folder and stores the values in the cache.

getOwnerPermissions() public méthode

Returns the permissions of the owner on this object.
public getOwnerPermissions ( ) : integer
Résultat integer All owner permissions for this object.

getUserPermissions() public méthode

Returns an array of all user permissions on this object.
public getUserPermissions ( integer $perm = null ) : array
$perm integer List only users with this permission level. Defaults to all users.
Résultat array All user permissions for this object, indexed by user.

save() public méthode

Saves the current permission values from the cache to the IMAP folder.
public save ( )

Property Details

$_groups protected_oe property

The group handler.
protected Horde_Group_Base $_groups
Résultat Horde_Group_Base

$_storage protected_oe property

The Kolab Folder these permissions belong to.
protected Horde_Perms_Permission_Kolab_Storage $_storage
Résultat Horde_Perms_Permission_Kolab_Storage

$data public_oe property

A cache for the folder acl settings. The cache holds the permissions in horde compatible format, not in the IMAP permission format.
public string $data
Résultat string