What is Smarty?
Why use it?
Use Cases and Work Flow
Syntax Comparison
Template Inheritance
Best Practices
Crash Course
You may use the Smarty logo according to the trademark notice.
For sponsorship, advertising, news or other inquiries, contact us at:
trigger_error() — エラーメッセージを出力します。
void trigger_error(string error_msg,
int level);
Smartyを通してエラーメッセージを出力します。
level パラメータには、PHP
の
trigger_error() 関数に使用される値
(E_USER_NOTICE や E_USER_WARNING など)
を指定します。デフォルトは E_USER_WARNING です。
$error_reporting、
debugging
および
トラブルシューティング
も参照してください。