Manuel Pear

PEAR_PackageUpdate::hasErrors

PEAR_PackageUpdate::hasErrors --  Returns whether or not errors have occurred (and been captured).

Synopsis

  1. <?php
  2. require_once 'PEAR/PackageUpdate.php
  3. ?> 

booléen PEAR_PackageUpdate::hasErrors ([mixed $level = FALSE])

Description

Returns whether or not errors , and or, warnings (version 0.7.0 or better) have occurred.

Paramètres

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.

Note

since 0.4.0a1

Cette fonction ne peut pas être appelée de façon statique.

Valeur retournée

booléen - TRUE if errors(/warnings) have been captured, FALSE othewise.


Remonter Remonter
L'éditeur javascript - CSS - Gentoo - Tutoriaux PHP - Tutoriels PHP - Bretagne - php - Moto - Kit graphique