tagErrorMsg
HtmlHelper::tagErrorMsg (
                         $[[field]],
                         $text
                       )

…FORMフィールドにフォーマットされたエラーメッセージを返し、エラーがなければNULLを返します。

Parameters:
string $field : "Modelname/fieldname"のようなfield名。
string $text : 表示したいエラーメッセージ。

Returns:
string If there are errors this method returns an error message, else NULL. public
最終更新:2007年07月30日 19:05