HTML_QuickForm_select::setMultiple() (Previous) (Next) HTML_QuickForm_select::setSize()

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTML_QuickForm_select::setSelected()

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

Leírás

This method is an alias for setValue(). For multiple selects you can pass either an array or a comma delimited string of values.

Paraméterek

mixed $values

Array or comma delimited string of selected values

Lehetséges hibaértékek

throws no exceptions thrown

Lásd

see getSelected().

Megjegyzés

since 1.0

Ez a függvény nem hívható statikusan.

HTML_QuickForm_select::setMultiple() (Previous) (Next) HTML_QuickForm_select::setSize()

Download Documentation Last updated: Sun, 01 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.