HTML_QuickForm::exportValue() (Previous) (Next) HTML_QuickForm::getElementValue()

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

HTML_QuickForm::exportValues()

HTML_QuickForm::exportValues() -- Returns "safe" elements' values

Leírás

Returns the values for the form elements. First it tries to return filtered submitted values, if there were none then it takes the values set by setDefaults() or setConstants().

Unlike getSubmitValues(), this will return only the values corresponding to the elements added to the form and only the values that could actually be submitted: if we have 'Yes'/'No' radiobuttons 'Maybe' will not be considered a valid submit value. You also cannot get values for file elements via this method.

Paraméterek

mixed $elementList

Array/string of element names, whose values we want. If not set then return all elements.

Visszatérési érték

return An assoc array of elements' values

Megjegyzés

since 3.1

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

HTML_QuickForm::exportValue() (Previous) (Next) HTML_QuickForm::getElementValue()

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.