previousForm customization and output helpers (Previous) (Next) HTML_QuickForm::isElementFrozen()next

View this page in Last updated: Tue, 02 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

HTML_QuickForm::freeze()

HTML_QuickForm::freeze() – "Freezes" the form's elements

Synopsis

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::freeze ( mixed $elementList = null )

Description

Freezes the elements: elements' values will be displayed without HTML input tags.

Parameter

mixed $elementList

array or string of element(s) to be frozen. If NULL then all the form's elements will be frozen.

Throws

Possible PEAR_Error values
Error code Error message Reason Solution
QUICKFORM_NONEXIST_ELEMENT Element '$element ' does not exist in HTML_QuickForm::freeze() Tried to freeze a non-existant element Check the element's name spelling

Note

since 1.0

This function can not be called statically.

previousForm customization and output helpers (Previous) (Next) HTML_QuickForm::isElementFrozen()next

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