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() — Affiche un message d'erreur
void trigger_error(string error_msg,
int level);
Cette fonction peut-être utilisée pour afficher un message d'erreur
en utilisant Smarty. Le paramètre level
peut prendre l'une des valeures utilisées par la fonction PHP
trigger_error()
,
i.e. E_USER_NOTICE
, E_USER_WARNING
, etc. Par défaut
il s'agit de E_USER_WARNING
.
Voir aussi
$error_reporting
,
le débogage et
Troubleshooting.