PHP 클래스 Horde_Group_Stub_Api, horde

저자: Jan Schneider ([email protected])
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_groups

공개 메소드들

메소드 설명
getGroupMembers ( string $gid, boolean $subGroups = false ) : array Returns a list of all members belonging to a contact group.
getGroupMemberships ( string $user, boolean $parentGroups = false ) : array Returns all contact groups that the specified user is a member of.
getGroupObject ( string $gid ) : array Returns a contact group hash.
getGroupObjects ( ) : array Returns all contact groups.

메소드 상세

getGroupMembers() 공개 메소드

Returns a list of all members belonging to a contact group.
public getGroupMembers ( string $gid, boolean $subGroups = false ) : array
$gid string The group identifier
$subGroups boolean Also include members of any subgroups?
리턴 array An array of group members (identified by email address).

getGroupMemberships() 공개 메소드

Returns all contact groups that the specified user is a member of.
public getGroupMemberships ( string $user, boolean $parentGroups = false ) : array
$user string The user
$parentGroups boolean Include user as a member of the any parent group as well.
리턴 array An array of group identifiers that the specified user is a member of.

getGroupObject() 공개 메소드

Returns a contact group hash.
public getGroupObject ( string $gid ) : array
$gid string The group identifier.
리턴 array A hash defining the group.

getGroupObjects() 공개 메소드

Returns all contact groups.
public getGroupObjects ( ) : array
리턴 array A list of group hashes.

프로퍼티 상세

$_groups 보호되어 있는 프로퍼티

protected $_groups