HTML_QuickForm_hierselect::setMainOptions()

HTML_QuickForm_hierselect::setMainOptions()

HTML_QuickForm_hierselect::setMainOptions() -- DEPRECATED: Sets the options for the first select

Synopsis

require_once 'HTML/QuickForm/hierselect.php';

void HTML_QuickForm_hierselect::setMainOptions (array $options)

Description

Format is standard key/value pairs for select elements. Example is available in the docs for setSecOptions().

This method has been deprecated. Use setOptions() instead.

Parameter

array $options

Array of options for the first select

Throws

throws no exceptions thrown

See

see HTML_QuickForm_select::loadArray(), setSecOptions().

Note

This function can not be called statically.

Warning

This function is deprecated. That means that future versions of this package may not support it anymore.

Deprecated in release 3.2.2