Smarty Icon

You may use the Smarty logo according to the trademark notice.

Smarty Template Engine Smarty Template Engine

For sponsorship, advertising, news or other inquiries, contact us at:

Sites Using Smarty

Advertisement

Name

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.