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

View this page in Last updated: Mon, 02 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

Beschrijving

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

Parameter

mixed $values

Array or comma delimited string of selected values

Throws

throws no exceptions thrown

Zie

see getSelected().

Note

since 1.0

Deze functie kan niet statisch worden aangeroepen.

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

Download Documentation Last updated: Mon, 02 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.