Horde_Core_Ajax_Imple_AutoCompleter_Pretty
extends Horde_Core_Ajax_Imple_AutoCompleter_Ajax
in package
The pretty AJAX autocompleter.
Copyright 2012-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
Properties
- $params : array<string|int, mixed>
- Configuration parameters.
- $_raw : array<string|int, mixed>
- The list of the parameters that are raw javascript.
Methods
- __construct() : mixed
- Constructor.
- generate() : mixed
- Generate the javascript necessary to instantiate the autocompleter object.
- _getOpts() : array<string|int, mixed>
- Return the encode list of options.
Properties
$params
Configuration parameters.
public
array<string|int, mixed>
$params
= array()
$_raw
The list of the parameters that are raw javascript.
protected
array<string|int, mixed>
$_raw
= array('onSelect', 'onShow', 'onType', 'filterCallback')
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $params = array() ]) : mixed
Parameters
- $params : array<string|int, mixed> = array()
-
Configuration options:
- box
- boxClass
- deleteIcon
- displayFilter
- existing
- filterCallback
- growingInputClass
- listClass
- minTriggerWidth
- onAdd
- onRemove
- requireSelection
- trigger
- triggerContainer
- uri
generate()
Generate the javascript necessary to instantiate the autocompleter object.
public
generate(Horde_Core_Ajax_Imple_AutoCompleter $ac) : mixed
Parameters
- $ac : Horde_Core_Ajax_Imple_AutoCompleter
-
The underlying imple object.
_getOpts()
Return the encode list of options.
protected
_getOpts(Horde_Core_Ajax_Imple_AutoCompleter $ac) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —Options list.