PHP 클래스 Horde_Kolab_Server_Object_Kolabgroupofnames, horde

Copyright 2008-2016 Horde LLC (http://www.horde.org/) See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
상속: extends Horde_Kolab_Server_Object_Groupofnames
파일 보기 프로젝트 열기: horde/horde 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$init_attributes array A structure to initialize the attribute structure for this class.

공개 메소드들

메소드 설명
generateId ( array &$info ) : string | PEAR_Error Generates an ID for the given information.
getFilter ( ) : string Return the filter string to retrieve this object type.
getGroupAddresses ( $server, string $uid ) : array Get the mail addresses for the group of this object.
getSearchOperations ( ) : array Returns the set of search operations supported by this object type.
gidForMail ( $server, string $mail, integer $restrict ) : mixed Identify the GID for the first group found with the given mail.
memberOfGroupAddress ( $server, string $uid, string $mail ) : boolean Is the given UID member of the group with the given mail address?
prepareObjectInformation ( array &$info ) : NULL. Distill the server side object information to save.

보호된 메소드들

메소드 설명
derive ( string $attr ) : mixed Derive an attribute value.

메소드 상세

derive() 보호된 메소드

Derive an attribute value.
protected derive ( string $attr ) : mixed
$attr string The attribute to derive.
리턴 mixed The value of the attribute.

generateId() 공개 메소드

Generates an ID for the given information.
public generateId ( array &$info ) : string | PEAR_Error
$info array The data of the object.
리턴 string | PEAR_Error The ID.

getFilter() 공개 정적인 메소드

Return the filter string to retrieve this object type.
public static getFilter ( ) : string
리턴 string The filter to retrieve this object type from the server database.

getGroupAddresses() 공개 정적인 메소드

Get the mail addresses for the group of this object.
public static getGroupAddresses ( $server, string $uid ) : array
$uid string The UID of the object to fetch.
리턴 array An array of mail addresses.

getSearchOperations() 공개 정적인 메소드

Returns the set of search operations supported by this object type.
public static getSearchOperations ( ) : array
리턴 array An array of supported search operations.

gidForMail() 공개 정적인 메소드

Identify the GID for the first group found with the given mail.
public static gidForMail ( $server, string $mail, integer $restrict ) : mixed
$mail string Search for groups with this mail address.
$restrict integer A Horde_Kolab_Server::RESULT_* result restriction.
리턴 mixed The GID or false if there was no result.

memberOfGroupAddress() 공개 정적인 메소드

Is the given UID member of the group with the given mail address?
public static memberOfGroupAddress ( $server, string $uid, string $mail ) : boolean
$uid string UID of the user.
$mail string Search the group with this mail address.
리턴 boolean True in case the user is in the group, false otherwise.

prepareObjectInformation() 공개 메소드

Distill the server side object information to save.
public prepareObjectInformation ( array &$info ) : NULL.
$info array The information about the object.
리턴 NULL.

프로퍼티 상세

$init_attributes 공개적으로 정적으로 프로퍼티

A structure to initialize the attribute structure for this class.
public static array $init_attributes
리턴 array