HTML_QuickForm_select::setSelected()
HTML_QuickForm_select::setSelected() -- Sets the default values of the select box
概要
require_once 'HTML/QuickForm/select.php'; |
void HTML_QuickForm_select::setSelected (mixed $values)
説明
This method is an alias for setValue(). For multiple selects you can pass either an array or a comma delimited string of values.
パラメータ
- mixed
$values
Array or comma delimited string of selected values
例外・エラー
throws no exceptions thrown
注意
since 1.0
この関数は、スタティックにコールする
ことはできません。