RE: [PEAR] Extending PEAR

From: Date: Wed, 15 Jan 2003 16:56:22 +0000
Subject: RE: [PEAR] Extending PEAR
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3313@lists.php.net to get a copy of this message
Basically, it gives the same error handling and provides destructor mechanism. You don't have to extend from it anyway, it's up to you ;) Arnaud. > Hi, > > I've been looking through some of the classes in the PEAR > collection. I've > noticed some extend the base PEAR class, where as others just > include it and > then access it statically. > > What is the point in extending your class from the base PEAR class? > I was just going to use it to keep error handling standard > between my own > code and some of the classes being used from PEAR. > > The documentation for the error handling is a bit sparce - I > know there is > info in the source code comments, but its nicer to have it > all in one place, > ie. http://pear.php.net !

« previous php.pear.general (#3313) next »