PEAR_ErrorStack::setDefaultLogger | PEAR_ErrorStack::setLogger |
PEAR_ErrorStack | |
PEAR Manual | |
require_once 'PEAR/ErrorStack.php'; |
string
PEAR_ErrorStack::setErrorMessageTemplate
(
mixed
$template
)
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'
No exceptions thrown.
This function can not be called statically.
PEAR_ErrorStack::setDefaultLogger | PEAR_ErrorStack::setLogger |
PEAR_ErrorStack | |
PEAR Manual | |