previousPEAR_ErrorStack::setDefaultLogger (Previous) (Next) PEAR_ErrorStack::setLoggernext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_ErrorStack::setErrorMessageTemplate

PEAR_ErrorStack::setErrorMessageTemplate() – Fija el array de la Plantilla de Mensaje de Error

Synopsis

require_once 'PEAR/ErrorStack.php';

string PEAR_ErrorStack::setErrorMessageTemplate ( mixed $template )

Description

El formato del array debe ser:  array(error code => 'message template',...)

Los mensajes de error pasados a push() serán usados para genrar el mensaje de error. Si la plantilla es 'message %foo% was %bar%', y los parámetros son array('foo' => 'one', 'bar' => 'six'), el mensaje de error devuelto será 'message one was six'

Parameter

mixed $template

Throws

throws no se lanza ninguna excepción

Note

This function can not be called statically.

previousPEAR_ErrorStack::setDefaultLogger (Previous) (Next) PEAR_ErrorStack::setLoggernext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.