PHP Class Horde_Core_Ajax_Imple_ContactAutoCompleter, horde

Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Core_Ajax_Imple_AutoCompleter
Afficher le fichier Open project: horde/horde Class Usage Examples

Méthodes publiques

Méthode Description
getAddressList ( string $str = '', array $opts = [] ) : Horde_Mail_Rfc822_List Uses the Registry to expand names.

Méthodes protégées

Méthode Description
_getAddressbookSearchParams ( ) : object Return search parameters necessary to do a contacts API search.
_getAutoCompleter ( )
_getAutoCompleterParams ( ) : array Return the basic autocompleter parameters.
_handleAutoCompleter ( $input )

Method Details

_getAddressbookSearchParams() abstract protected méthode

Return search parameters necessary to do a contacts API search.
abstract protected _getAddressbookSearchParams ( ) : object
Résultat object Object with these properties: - fields: TODO - sources: TODO

_getAutoCompleter() protected méthode

protected _getAutoCompleter ( )

_getAutoCompleterParams() protected méthode

Return the basic autocompleter parameters.
protected _getAutoCompleterParams ( ) : array
Résultat array Autocompleter parameters.

_handleAutoCompleter() protected méthode

protected _handleAutoCompleter ( $input )

getAddressList() public méthode

This function will not search if the address string is empty.
public getAddressList ( string $str = '', array $opts = [] ) : Horde_Mail_Rfc822_List
$str string The name(s) or address(es) to expand.
$opts array Additional options: - levenshtein: (boolean) Do levenshtein sorting, - count_only: (boolean) Only return the count of results.
Résultat Horde_Mail_Rfc822_List Expand results.