Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Name

trigger_error() — エラーメッセージを出力します。

説明

void trigger_error(string error_msg,
                   int level);

Smartyを通してエラーメッセージを出力します。 level パラメータには、PHP の trigger_error() 関数に使用される値 (E_USER_NOTICEE_USER_WARNING など) を指定します。デフォルトは E_USER_WARNING です。

$error_reportingdebugging および トラブルシューティング も参照してください。