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


require_once 'HTML/QuickForm/hierselect.php';

void HTML_QuickForm_hierselect::setMainOptions ( array $options )


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.


array $options

Array of options for the first select


throws no exceptions thrown


This function can not be called statically.

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

Deprecated in release 3.2.2

Sets the options for the select elements (Previous) DEPRECATED: Sets the options for the secondary select (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.