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
)
Описание
Format is standard key/value pairs for select elements. Пример 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
Замечание
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