constructor HTML_QuickForm_hiddenselect()

constructor HTML_QuickForm_hiddenselect() – Class constructor


require_once 'HTML/QuickForm/hiddenselect.php';

void constructor HTML_QuickForm_hiddenselect::HTML_QuickForm_hiddenselect ( string $elementName = null , mixed $elementLabel = null , mixed $options = null , mixed $attributes = null )


Note that some parameters are unused, as the element is in fact hidden.


string $elementName

Select name attribute

mixed $elementLabel

Label(s) for the select (not used)

mixed $options

Data to be used to populate options

mixed $attributes

Either a typical HTML attribute string or an associative array (not used)


throws no exceptions thrown


since 1.0

This function can not be called statically.

Creates hidden elements with select's values (Previous) Class to dynamically create chained HTML Select elements, each select changes the content of the next. (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.