PHP Manual

PEAR Manual

Smarty Manual

PostgreSQL

MySQL Manual

Perl Manual

chapter 26. pear base classes

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::raiseerror() -- create a new pear_error object and optionally specify error-handling instructions
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::loadextension() -- os independant php extension load

pear provides functions for handling errors and sets the behavoir in case of error. and, it gives package developers a set of functions to make their lives easier.