PHP 클래스 IMP_Contacts, horde

저자: Michael Slusarz ([email protected])
상속: implements IteratorAggregate, implements Serializable
파일 보기 프로젝트 열기: horde/horde

공개 메소드들

메소드 설명
__get ( $name )
addAddress ( Horde_Mail_Rfc822_Object $addr ) : string Adds e-mail address to the user defined address book.
clearCache ( ) Clear cached contacts data.
getIterator ( ) : Horde_Mail_Rfc822_List Returns the list of all contacts.
searchEmail ( string $str, array $opts = [] ) : Horde_Mail_Rfc822_List Search the addressbook for email addresses.
serialize ( )
unserialize ( $data )

비공개 메소드들

메소드 설명
_init ( ) Initializes parameters needed to do an address search.

메소드 상세

__get() 공개 메소드

public __get ( $name )

addAddress() 공개 메소드

Adds e-mail address to the user defined address book.
public addAddress ( Horde_Mail_Rfc822_Object $addr ) : string
$addr Horde_Mail_Rfc822_Object Address or group to add.
리턴 string A link or message to show in the notification area (already HTML encoded).

clearCache() 공개 메소드

Clear cached contacts data.
public clearCache ( )

getIterator() 공개 메소드

Returns the list of all contacts.
public getIterator ( ) : Horde_Mail_Rfc822_List
리턴 Horde_Mail_Rfc822_List Listing of all contacts.

searchEmail() 공개 메소드

Search the addressbook for email addresses.
public searchEmail ( string $str, array $opts = [] ) : Horde_Mail_Rfc822_List
$str string The search string.
$opts array Additional options: - email_exact: (boolean) Require exact match in e-mail? - levenshtein: (boolean) Do levenshtein sorting of results? - sources: (array) Use this list of sources instead of default.
리턴 Horde_Mail_Rfc822_List Results.

serialize() 공개 메소드

public serialize ( )

unserialize() 공개 메소드

public unserialize ( $data )