PEAR_ErrorStack::push (Previous) (Next) PEAR_ErrorStack::raiseError

View this page in Last updated: Sun, 05 Oct 2008
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_ErrorStack::pushCallback()

PEAR_ErrorStack::pushCallback() -- エラーコールバックを設定する。有効なコールバックが設定されると、 エラーがスタックに格納されるたびにこれがコールされる。返り値によって エラーをスタックに格納するかどうか・ログに記録するかどうかを判断する。

説明

返り値は、PEAR_ERRORSTACK_* 定数のうちのひとつでなければなりません。

この機能は PEAR の pushErrorHandling と PEAR_ERROR_CALLBACK モードを エミュレートするもので、ログの記録やエラースタックには影響を及ぼしません。

パラメータ

string|array $cb

例外・エラー

例外はスローされません。

注意

この関数は、スタティックにコールする ことはできません。

PEAR_ErrorStack::push (Previous) (Next) PEAR_ErrorStack::raiseError

Download Documentation Last updated: Sun, 05 Oct 2008
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.