void HTML_QuickForm::setElementError (
string $element
, string $message
)
フォーム要素のエラーメッセージを設定します。フォーム要素のエラーは、通常は validate() メソッドで設定されます。要素のエラーメッセージを明示的に指定したい場合にこれを使用します。
$element
エラーを設定するフォーム要素の名前。
$message
エラーメッセージ。
例外はスローされません。
since 1.0
This function can not be called statically.