?
This document uses PHP Chinese website manual Release
void trigger_error
(string
error_msg, [int level])
This function can be used to output an error message using Smarty.
level
parameter can be one of the values
used for trigger_error() PHP function, i.e. E_USER_NOTICE,
E_USER_WARNING, etc. By default it's E_USER_WARNING.
用來使用Smarty內置的方法輸出錯誤信息。參數level可 以是PHP函數trigger_error()的一個參數值,如E_USER_NOTICE, E_USER_WARNING等,一般默認為E_USER_WARNING。