PEAR_PackageUpdate::hasErrors --
Returns whether or not errors have occurred (and been captured).
Leírás
Returns whether or not errors , and or, warnings (version 0.7.0 or better)
have occurred.
Paraméterek
- mixed $level
The level of errors to pop off of the stack (warning|error). Use FALSE
if you want all errors and warnings at once.
Megjegyzés
since 0.4.0a1
Ez a függvény nem hívható
statikusan.
Visszatérési érték
boolean - TRUE if errors(/warnings) have been captured, FALSE othewise.