Chapter 13. PEAR base classes

Table of Contents
PEAR
PEAR_Error
System

The Core section provides information about the base classes in PEAR

PEAR

Table of Contents
Introduction --  How to handle the PEAR base class (destructors, error handling)
Constants -- Predefined Constants
PEAR::PEAR() -- constructor (package developer related)
PEAR::_PEAR() -- Deconstructor (package developer related)
PEAR::getStaticProperty() -- handle static properties (package developer related)
PEAR::registerShutdownFunc() -- set a shutdown function for static classes (package developer related)
PEAR::isError() -- checks for a PEAR_Error object
PEAR::setErrorHandling() -- sets handling of errors generated through PEAR packages
PEAR::expectError() --  add an error code for non-disabling temporary error handling
PEAR::popExpect() --  removes the last error code for non-disabling temporary error handling

PEAR provides functions for handling errors and set the behavoir in case of an error. And it gives package developers a set of functions to make their live easier.