HTML_QuickForm_hierselect::setMainOptions()

HTML_QuickForm_hierselect::setMainOptions() -- 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().

パラメータ

array $options

Array of options for the first select

例外・エラー

throws no exceptions thrown

参照

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

注意

この関数は、スタティックにコールする ことはできません。