HTML_QuickForm::getElementError() (Previous) (Next) HTML_QuickForm::registerRule()

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

HTML_QuickForm::setElementError()

HTML_QuickForm::setElementError() -- フォーム要素のエラーメッセージを設定する

説明

フォーム要素のエラーメッセージを設定します。フォーム要素のエラーは、通常は validate() メソッドで設定されます。要素のエラーメッセージを明示的に指定したい場合にこれを使用します。

パラメータ

string $element

エラーを設定するフォーム要素の名前。

string $message

エラーメッセージ。

例外・エラー

例外はスローされません。

注意

since 1.0

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

HTML_QuickForm::getElementError() (Previous) (Next) HTML_QuickForm::registerRule()

Download Documentation Last updated: Sun, 05 Oct 2008
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.