PHP Класс Horde_Perms_Permission_Kolab, horde

Автор: Gunnar Wrobel ([email protected])
Наследование: extends Horde_Perms_Permission
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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)

Свойство Тип Описание
$_groups Horde_Group_Base The group handler.
$_storage Horde_Perms_Permission_Kolab_Storage The Kolab Folder these permissions belong to.

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный метод

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() публичный метод

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

getOwnerPermissions() публичный метод

Returns the permissions of the owner on this object.
public getOwnerPermissions ( ) : integer
Результат integer All owner permissions for this object.

getUserPermissions() публичный метод

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.
Результат array All user permissions for this object, indexed by user.

save() публичный метод

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

Описание свойств

$_groups защищенное свойство

The group handler.
protected Horde_Group_Base $_groups
Результат Horde_Group_Base

$_storage защищенное свойство

The Kolab Folder these permissions belong to.
protected Horde_Perms_Permission_Kolab_Storage $_storage
Результат Horde_Perms_Permission_Kolab_Storage

$data публичное свойство

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
Результат string