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);
Questa funzione può essere usata per produrre in output un messaggio
di errore attraverso Smarty. Il parametro level
può contenere uno dei valori usati per la funzione PHP trigger_error(),
cioè E_USER_NOTICE, E_USER_WARNING, ecc. Per default il suo valore è
E_USER_WARNING.