HTML_QuickForm_hierselect::setMainOptions()

HTML_QuickForm_hierselect::setMainOptions() -- 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. Example is available in the docs for setSecOptions().

Параметр

array $options

Array of options for the first select

Throws

throws no exceptions thrown

См. также

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

Заметка

Эта функция не должна вызываться статически.