PEAR_PackageUpdate::popError

PEAR_PackageUpdate::popError – Pops an error off the error stack.

Synopsis

require_once 'PEAR/PackageUpdate.php';

array PEAR_PackageUpdate::popError ( )

Description

Pops an error off the error stack.

This method is just for collecting errors that occur while checking for updates and updating a package. The child class is responsible for displaying all errors and handling them properly. This is because the way errors are handled varies greatly depending on the driver used.

Note

since 0.4.0a1

This function can not be called statically.

Return value

array - details of an error or warning (with debug context if available).

Updates the source for the package. (Previous) Returns whether or not errors have occurred (and been captured). (Next)
Last updated: Fri, 22 Aug 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.