constructor HTML_QuickForm_hierselect()

constructor HTML_QuickForm_hierselect() – Class constructor

Synopsis

require_once 'HTML/QuickForm/hierselect.php';

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.

Class to dynamically create chained HTML Select elements, each select changes the content of the next. (Previous) Sets the options for the select elements (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.