Documentation

Horde_Core_Ajax_Imple_AutoCompleter_Ajax extends Horde_Core_Ajax_Imple_AutoCompleter_Base
in package

The 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
author

Michael Slusarz slusarz@horde.org

category

Horde

license

http://www.horde.org/licenses/lgpl21 LGPL 2.1

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:

  • 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.

        
On this page

Search results