Property | 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. |
Property | Type | Description | |
---|---|---|---|
$_groups | Horde_Group_Base | The group handler. | |
$_storage | Horde_Perms_Permission_Kolab_Storage | The Kolab Folder these permissions belong to. |
Method | 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. |
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. |
public getCurrentPermissions ( ) |
public getOwnerPermissions ( ) : integer | ||
return | integer | All owner permissions for this object. |
public getUserPermissions ( integer $perm = null ) : array | ||
$perm | integer | List only users with this permission level. Defaults to all users. |
return | array | All user permissions for this object, indexed by user. |
public save ( ) |
protected Horde_Group_Base $_groups | ||
return | Horde_Group_Base |
protected Horde_Perms_Permission_Kolab_Storage $_storage | ||
return | Horde_Perms_Permission_Kolab_Storage |
public string $data | ||
return | string |