constructor HTML_QuickForm_hierselect()
Synopsis
void constructor HTML_QuickForm_hierselect::HTML_QuickForm_hierselect (
string $elementName
= null
, string $elementLabel
= null
, mixed $attributes
= null
, mixed $separator
= null
)
Description
This package is not documented yet.
Parameter
-
string
$elementName
-
(optional)Input field name attribute
If you are displaying several forms on one page, then hierselects in these forms should have unique names. In the other case the values for last hierselect with the same name will overwrite the values for the previous one. It is extremely difficult to cleanly fix this behaviour with current QuickForm architecture, therefore please rely on this workaround. See Request #5718.
-
string
$elementLabel
-
(optional)Input field label in form
-
mixed
$attributes
-
(optional)Either a typical HTML attribute string or an associative array.
-
mixed
$separator
-
String to separate the grouped elements
Throws
throws no exceptions thrown
Note
This function can not be called statically.