Set WeberTrivia.com to be my default homepage.   Suggest a Question                                               

Suggest A Question : :  Frequently Asked Questions : :  Search : :  Relevant Manuals : : 
PHP Questions : :  Linux Questions : :  MySQL Questions : : 
home  [ Login ] 

Chapter 14. 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.

Who's Online
Guest Users: 9
Google
Web
WeberTrivia
WeberDev
WeberForums
 Free Sample Chapters  Free Sample Chapters
  Deliver First Class Web Sites: 101 Essential Checklists
Want to learn how to make your web sites usable and accessible? Want to ensure that your sites meet current best practice, without spending hours trawling through incomprehensible specifications and recommendations from dozens of different books, research papers, and web sites? Want to make sure that the sites you build are "right the first time," requiring no costly redevelopments?

More Sample Chapters

PHP General