PEAR_ErrorStack::singleton (Previous) (Next) PEAR_ErrorStack::staticHasErrors

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

PEAR_ErrorStack::staticGetErrors()

PEAR_ErrorStack::staticGetErrors() --  Get a list of all errors since last purge, organized by package

Backwards Compatibility Warning

Figyelem

As of PEAR 1.3.2, the second parameter is a new parameter $level. Any code that relies on $merge being the second parameter will break.

Leírás

Static version of PEAR_ErrorStack::getErrors() , returns all errors from all singleton stacks.

Paraméterek

boolean $purge

Set to purge the error stack of existing errors

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)

boolean $merge

Set to return a flat array, not organized by package

array $sortfunc

Function used to sort a merged array - default sorts by time, and should be good for most cases

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::singleton (Previous) (Next) PEAR_ErrorStack::staticHasErrors

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.