Добро пожаловать на форум PHP программистов!
За последние 24 часа нас посетили 22517 программистов и 1575 роботов. Сейчас ищут 1386 программистов ...

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

© 2024 «PHP.RU — Сообщество PHP-Программистов»
Главная | Форум | Реклама на сайте | Контакты VIP Сувениры
Разработка компании ODware