string
PEAR_ErrorStack::setErrorMessageTemplate
(
mixed
$template
)
配列はこのような形式でなければなりません: array(エラーコード => 'メッセージテンプレート',...)
push() に渡されたエラーメッセージパラメータが、エラーメッセージの元として 使われます。 テンプレートが 'message %foo% was %bar%', パラメータが array('foo' => 'one', 'bar' => 'six') であった場合、返されるエラーメッセージは 'message one was six' となります。
$template
No exceptions thrown.
This function can not be called statically.