previousPEAR_ErrorStack::getErrorMessageTemplate (Previous) (Next) PEAR_ErrorStack::getFileLinenext

View this page in Last updated: Sun, 21 Jun 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

PEAR_ErrorStack::getErrors

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

Synopsis

require_once 'PEAR/ErrorStack.php';

array PEAR_ErrorStack::getErrors ( boolean $purge = = false , string|false $level = = false )

Description

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

Parameter

boolean $purge

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

string $level

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

Throws

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

Note

This function can not be called statically.

previousPEAR_ErrorStack::getErrorMessageTemplate (Previous) (Next) PEAR_ErrorStack::getFileLinenext

Download Documentation Last updated: Sun, 21 Jun 2009
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.