RE: [PEAR] Extending DB.php
| From: | Lukas Smith | Date: | Tue, 10 Dec 2002 06:12:27 +0000 |
| Subject: | RE: [PEAR] Extending DB.php | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-2932@lists.php.net to get a copy of this message | ||
Well PEAR DB uses the factory design pattern.
That is the DB class is actually only responsible to instantiate the
class you want (which is an instance of a driver that itself extends the
DB_common class).
Anyways what exactly are you missing?
Are you talking about internal use or things you actually want to add to
the public PEAR DB version?
Regards,
Lukas Smith
smith@dybnet.de
_______________________________
DybNet Internet Solutions GbR
Reuchlinstr. 10-11
Gebäude 4 1.OG Raum 6 (4.1.6)
10553 Berlin
Germany
Tel. : +49 30 83 22 50 00
Fax : +49 30 83 22 50 07
www.dybnet.de info@dybnet.de
> -----Original Message-----
> From: Tim Lieberman [mailto:emci@speakeasy.org]
> Sent: Tuesday, December 10, 2002 2:39 AM
> To: pear-general@lists.php.net
> Subject: Re: [PEAR] Extending DB.php
>
> I've wondered this very same thing.
>
> -Tim
>
> At 03:02 PM 12/9/2002 -0500, Khürt Williams wrote:
> >I want to extend the PEAR DB class. What is a suggested method to do
so
> >since the DB does not have a new method?
> >
> >Sincerely,
> >Khurt Williams
> >11 Garfield Way
> >Princeton, NJ 08540-1669
> >+1(609)688-9961
> >khurtwilliams@msn.com
>
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php