PEAR_ErrorStack::setDefaultLogger (Previous) (Next) PEAR_ErrorStack::setLogger

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_ErrorStack::setErrorMessageTemplate()

PEAR_ErrorStack::setErrorMessageTemplate()  -- Set the Error Message Template array

Leírás

The array format must be: array(error code => 'message template',...)

Error message parameters passed into push() will be used as input for the error message. If the template is 'message %foo% was %bar%', and the parameters are array('foo' => 'one', 'bar' => 'six'), the error message returned will be 'message one was six'

Paraméterek

mixed $template

Lehetséges hibaértékek

Nem dob kivételeket.

Megjegyzés

Ez a függvény nem hívható statikusan.

PEAR_ErrorStack::setDefaultLogger (Previous) (Next) PEAR_ErrorStack::setLogger

Download Documentation Last updated: Sun, 01 Jul 2007
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.