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: Chris Weiss
Subject: Re: [Phpgroupware-developers] Handling different classes by the same name
Date: Tue, 03 Sep 2002 15:46:23 +0000

>B U T, if you call CreateObject('app.class') phpGw loades the class only
>once and saves it in the $GLOBALS['phpgw'] Object under the class-name
>only. Therefor if you call CreateObject('yourapp.DB') and other
>standard-classe already loaded 'phpgwapi.db' you will get the phpgwapi
>version, if you load your class in the phpgw-style with CreateObject.

if he doesn't but the PEAR class in the $GLOBALS['phpgw'] object then there
is no problem.  It's not likely there now and I think his goal is to not
rewrite all the DB code.





reply via email to

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