PEAR Manual
Prev |  | Next

# HTML_QuickForm_autocomplete::setoptions()

HTML_QuickForm_autocomplete::setoptions() -- Sets the options for the autocomplete input text element

## Synopsis

    require_once 'HTML/QuickForm/autocomplete.php';

``void HTML_QuickForm_autocomplete::setOptions` (array $options)`

## Description

The strings in this array will be checked by the javascript function for a match with the text being typed. In case of a match the text will be autocompleted.

## Parameter

array `$options`

  Array of options for the autocomplete input text element

## Throws

throws no exceptions thrown

## Note

This function can not be called statically.

Prev | Home | Next
constructor HTML_QuickForm_autocomplete | Up | Class Summary HTML_QuickForm_date