previousClass Summary HTML_QuickForm_hierselect (Previous) (Next) HTML_QuickForm_hierselect::setOptions()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

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

Note: 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.

previousClass Summary HTML_QuickForm_hierselect (Previous) (Next) HTML_QuickForm_hierselect::setOptions()next

Download Documentation Last updated: Tue, 02 Jun 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.