PHP Class Horde_Core_Ajax_Imple_AutoCompleter_Local, horde

Copyright 2012-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.
Author: Michael Slusarz ([email protected])
Inheritance: extends Horde_Core_Ajax_Imple_AutoCompleter_Ajax
Mostra file Open project: horde/horde

Protected Properties

Property Type Description
$_search mixed The search array to send to the browser.

Public Methods

Method Description
__construct ( mixed $search, array $params = [] )
generate ( Horde_Core_Ajax_Imple_AutoCompleter $ac )

Method Details

__construct() public method

public __construct ( mixed $search, array $params = [] )
$search mixed The search array to use. If a string, autocompleter will use this JS variable name to do the search. If an array, this data will be passed to the autocompleter automatically.
$params array Configuration options: - autoSelect: TODO - choices: (integer) TODO - frequency: (integer) TODO - fullSearch: (integer) TODO - ignoreCase: (integer) TODO - minChars: (integer) Minimum # of characters before search is made. - onSelect: (string) Javascript code to run on select. - onShow: (string) Javascript code to run on show. - onType: (string) Javascript code to run on type. - paramName: (string) TODO - partialChars: (integer) TODO - partialSearch: (integer) TODO - score: (integer) TODO - tokens: (array) Valid token separators.

generate() public method

public generate ( Horde_Core_Ajax_Imple_AutoCompleter $ac )
$ac Horde_Core_Ajax_Imple_AutoCompleter

Property Details