phpgroupware-developers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Phpgroupware-developers] Handling different classes by the same nam


From: Ryan Waldron
Subject: Re: [Phpgroupware-developers] Handling different classes by the same name
Date: Sat, 7 Sep 2002 16:38:49 -0500 (CDT)

On Tue, 3 Sep 2002, Oliver Günther wrote:

> Or you the PEAR::DB class an extend it with the needed methods of phpgw.

It does seem to me that if you're already using the PEAR::DB class
extensively, but (hopefully) not using the functions directly (as in
DB::query()), then maybe the simplest thing would be to make a little
wrapper that renames the DB class by extending it, so you'd still have
access to all the members of PEAR::DB without exposing that class name
where it would conflict with the phpgw db class.

-- 
Ryan Waldron    |||   http://www.erebor.com    |||    address@hidden

"The web goes ever, ever on, down from the site where it began..."





reply via email to

[Prev in Thread] Current Thread [Next in Thread]