Метод | Описание | |
---|---|---|
__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. |
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). |
public getIterator ( ) : Horde_Mail_Rfc822_List | ||
Результат | Horde_Mail_Rfc822_List | Listing of all contacts. |
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. |