HTML_QuickForm_select::setSelected()

HTML_QuickForm_select::setSelected() -- Sets the default values of the select box

Synopsis

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

throws no exceptions thrown

См. также

see getSelected().

Заметка

since 1.0

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


HIVE: All information for read only. Please respect copyright!
Hosted by hive йца: йХЕБЯЙЮЪ ЦНПНДЯЙЮЪ АХАКХНРЕЙЮ