previousPEAR_ErrorStack::getMessageCallback (Previous) (Next) PEAR_ErrorStack::popnext

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::hasErrors

PEAR_ErrorStack::hasErrors() – スタックにエラーが格納されているかどうかを調べる

Synopsis

require_once 'PEAR/ErrorStack.php';

boolean PEAR_ErrorStack::hasErrors ( string $level = false )

Description

スタックにエラーが格納されているかどうかを調べます。

Parameter

string $level

特定の深刻度のエラーだけを調べたい場合にレベルの名前を指定します。 これを利用することで、特定のレベル(たとえば警告のみなど)が 存在するかどうかを調べられます。この場合はエラーは無視されます。

Throws

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

Note

This function can not be called statically.

previousPEAR_ErrorStack::getMessageCallback (Previous) (Next) PEAR_ErrorStack::popnext

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.