HTML_QuickForm::getElementError()

HTML_QuickForm::getElementError() -- Returns error corresponding to validated element

概要

require_once 'HTML/QuickForm.php';

string HTML_QuickForm::getElementError (string $element)

説明

Returns error corresponding to validated element. Errors are usually assigned to elements by validate() method.

パラメータ

string $element

Name of form element to check

返り値

return error message corresponding to checked element

例外・エラー

throws no exceptions thrown

注意

since 1.0

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