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:
void trigger_error( |
error_msg, | |
level) ; |
string error_msg
;[int level]
;
Essa função pode ser usada para saída de uma mensagem de erro usando Smarty.
O parâmetro level
pode ser um dos valores usados
para a função de php trigger_error(), ex.: E_USER_NOTICE,
E_USER_WARNING, etc. Por padrão é E_USER_WARNING.