constructor HTML_QuickForm_hiddenselect()

constructor HTML_QuickForm_hiddenselect() – Class constructor

Synopsis

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 )

Description

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

Parameter

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

throws no exceptions thrown

Note

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.