Рекурсивный акроним словосочетания «PHP: Hypertext Preprocessor»
Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 17140 программистов и 1685 роботов. Сейчас ищут 2045 программистов ...
PEAR_ErrorStack::setErrorMessageTemplate
Вернуться к: PEAR_ErrorStack
PEAR_ErrorStack::setErrorMessageTemplate
PEAR_ErrorStack::setErrorMessageTemplate() – Set the Error Message Template array
Synopsis
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'
Parameter
- mixed $template
-
Throws
No exceptions thrown.
Note
This function can not be called statically.
Вернуться к: PEAR_ErrorStack