?
本文檔使用 PHP中文網(wǎng)手冊(cè) 發(fā)布
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.
用來(lái)使用Smarty內(nèi)置的方法輸出錯(cuò)誤信息。參數(shù)level可 以是PHP函數(shù)trigger_error()的一個(gè)參數(shù)值,如E_USER_NOTICE, E_USER_WARNING等,一般默認(rèn)為E_USER_WARNING。