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 — Despliega un mensaje de error

Descripción

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.