PEAR_ErrorStack::staticGetErrors (Previous) (Next) PEAR_ErrorStack::staticPop

View this page in Last updated: Sun, 01 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

PEAR_ErrorStack::staticHasErrors()

PEAR_ErrorStack::staticHasErrors()  --  Determine whether there are any errors on any error stack

Leírás

Static version of PEAR_ErrorStack::hasErrors(). Returns TRUE if any singleton stack has any errors pending. Since PEAR 1.3.2, If $package is specified, it will call PEAR_ErrorStack::hasErrors for the singleton error stack of that package. If level is specified, hasErrors will ignore any errors not conforming to the error level specified. Use this to simulate error_reporting(E_NOTICE), for example

Paraméterek

string|FALSE $package

Package name to retrieve error information from, or false to retrieve error information from all singleton stacks

string $level

Level name to check for a particular severity. Use this to determine whether only a particular class of errors has occurred, such as whether any warnings have occurred (errors will be ignored)

Lehetséges hibaértékek

Nem dob kivételeket.

Megjegyzés

Ez a függvény statikus meghívásra van felkészítve!

PEAR_ErrorStack::staticGetErrors (Previous) (Next) PEAR_ErrorStack::staticPop

Download Documentation Last updated: Sun, 01 Jul 2007
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.