PHP 클래스 Horde_Perms_Permission_Kolab, horde

상속: extends Horde_Perms_Permission
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$data string A cache for the folder acl settings. The cache holds the permissions in horde compatible format, not in the IMAP permission format.

보호된 프로퍼티들

프로퍼티 타입 설명
$_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