HTML_QuickForm (Previous) (Next) HTML_QuickForm::setDefaults()

View this page in Last updated: Sun, 28 Sep 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTML_QuickForm::setConstants()

HTML_QuickForm::setConstants() -- Sets constant form values

Description

Sets constant form values. These values won't be overridden by either default (set via setDefaults()) or submitted (POST or GET) values.

Parameter

array $constantValues

values used to fill the form, array('element name' => 'element value')

mixed $filter

(optional) filter(s) to apply to all default values

Note

since 2.0

This function can not be called statically.

HTML_QuickForm (Previous) (Next) HTML_QuickForm::setDefaults()

Download Documentation Last updated: Sun, 28 Sep 2008
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.