\Horde_Core_Ajax_Imple_AutoCompleter_Pretty

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.

Summary

Methods
Properties
Constants
__construct()
generate()
$params
No constants found
_getOpts()
$_raw
N/A
No private methods found
No private properties found
N/A

Properties

$params

$params : array

Configuration parameters.

Type

array

$_raw

$_raw : array

The list of the parameters that are raw javascript.

Type

array

Methods

__construct()

__construct(array  $params = array()) 

Constructor.

Parameters

array $params

Configuration options:

  • box
  • boxClass
  • deleteIcon
  • displayFilter
  • existing
  • filterCallback
  • growingInputClass
  • listClass
  • minTriggerWidth
  • onAdd
  • onRemove
  • requireSelection
  • trigger
  • triggerContainer
  • uri

generate()

generate(\Horde_Core_Ajax_Imple_AutoCompleter  $ac) 

Generate the javascript necessary to instantiate the autocompleter object.

Parameters

\Horde_Core_Ajax_Imple_AutoCompleter $ac

The underlying imple object.

_getOpts()

_getOpts(\Horde_Core_Ajax_Imple_AutoCompleter  $ac) : array

Return the encode list of options.

Parameters

\Horde_Core_Ajax_Imple_AutoCompleter $ac

Returns

array —

Options list.