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


require_once 'HTML/QuickForm/autocomplete.php';

void HTML_QuickForm_autocomplete::setOptions ( array $options )


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.


array $options

Array of options for the autocomplete input text element


throws no exceptions thrown


This function can not be called statically.

Class constructor (Previous) Class for a group of elements used to input dates (and times). (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.