Web site hosting and cheap domain registration services
  

 Home

PEAR Manual
PrevNext

PEAR_ErrorStack::setErrorMessageTemplate()

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

Description

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'

Parameter

mixed $template

Throws

throws no exceptions thrown

Note

This function can not be called statically.


PrevHomeNext
PEAR_ErrorStack::setDefaultLogger()UpPEAR_ErrorStack::setLogger()
 

 

 

© 2002-2004 Active-Venture.com Web Site Hosting Service

 

Disclaimers: This documentation is provided only for the benefits of our website hosting customers.
For authoritative source of the documentation, please refer to http://pear.php.net/manual/

Recommended Resources: