HTML_QuickForm::freeze()

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

概要

require_once 'HTML/QuickForm.php';

void HTML_QuickForm::freeze ([mixed $elementList = NULL])

説明

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

パラメータ

mixed $elementList

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

例外・エラー

表 40-1PEAR_Error の値

Error codeError messageReasonSolution
QUICKFORM_NONEXIST_ELEMENTElement '$element' does not exist in HTML_QuickForm::freeze()Tried to freeze a non-existant elementCheck the element's name spelling

注意

since 1.0

この関数は、スタティックにコールする ことはできません。