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 — Despliega un mensaje de error
void trigger_error(string error_msg,
int level);
Esta función puede ser usada para la salida de un mensaje de error
usando Smarty. El parámetro level
es uno de
los valores usados para la función de php
trigger_error(),
ex.: E_USER_NOTICE, E_USER_WARNING, etc.
Por default es E_USER_WARNING.
Ver también $error_reporting, debugging y Troubleshooting.