PEAR_ErrorStack::getErrorMessageTemplate (Previous) (Next) PEAR_ErrorStack::getFileLine

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

PEAR_ErrorStack::getErrors()

PEAR_ErrorStack::getErrors() -- 最後にクリアした後に発生したすべてのエラーを取得する

説明

最後にクリアした後に発生したすべてのエラーを取得します。あるいは、 特定のエラーレベルのものだけを取得し、残りのエラーはスタックに残しておきます。

パラメータ

boolean $purge

取得後にエラースタックをクリアする場合に設定します。

string $level

調べたい深刻度を表すレベル名を指定します。特定のレベルのエラーのみを 利用する場合にこのパラメータを利用します。たとえば警告のみを取得する (その他のエラーは無視する)などの場合です。

例外・エラー

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

注意

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

PEAR_ErrorStack::getErrorMessageTemplate (Previous) (Next) PEAR_ErrorStack::getFileLine

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.