HTML_QuickForm::getElementValue()

HTML_QuickForm::getElementValue() -- Returns the element's raw value

概要

require_once 'HTML/QuickForm.php';

mixed &HTML_QuickForm::getElementValue (string $element)

説明

Returns the element's raw value such as submitted by the form (not filtered), set by setDefaults() or setConstants().

パラメータ

string $element

Element name

返り値

return element value

例外・エラー

表 40-1PEAR_Error の値

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

注意

since 2.0

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