PHP Class Horde_Core_Ajax_Imple_AutoCompleter_Ajax, 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_Base
Show file Open project: horde/horde Class Usage Examples

Protected Properties

Property Type Description
$_raw array The list of the parameters that are raw javascript.

Public Methods

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

Protected Methods

Method Description
_getOpts ( Horde_Core_Ajax_Imple_AutoCompleter $ac ) : array Return the encode list of options.

Method Details

__construct() public method

public __construct ( array $params = [] )
$params array Configuration options: - autoSelect: TODO - frequency: (integer) TODO - indicator: (string) 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. - filterCallback: (string) Javascript code to run to apply any filtering to results returned by the handler. - paramName: (string) TODO - tokens: (array) Valid token separators.

_getOpts() protected method

Return the encode list of options.
protected _getOpts ( Horde_Core_Ajax_Imple_AutoCompleter $ac ) : array
$ac Horde_Core_Ajax_Imple_AutoCompleter
return array Options list.

generate() public method

public generate ( Horde_Core_Ajax_Imple_AutoCompleter $ac )
$ac Horde_Core_Ajax_Imple_AutoCompleter

Property Details

$_raw protected property

The list of the parameters that are raw javascript.
protected array $_raw
return array