phpgroupware-developers
[Top][All Lists]
Advanced

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

Re: [phpGroupWare-developers] datetime class and PHP 5.2


From: Dave Hall
Subject: Re: [phpGroupWare-developers] datetime class and PHP 5.2
Date: Wed, 27 Dec 2006 13:50:43 +1100

On Wed, 2006-12-27 at 12:52 +1100, Dave Hall wrote:
> On Tue, 2006-12-26 at 19:41 -0600, Chris Weiss wrote:
> > On 12/26/06, Dave Hall <address@hidden> wrote:
> > > Prefix by app:
> > > app/inc/class.blah.inc.php contains a class called "app_blah" which
> > > createObject will "auto prepend" the app_ to the class name before
> > > instantiating it.  I prefer this option as it will also prevent class
> > > name clashes within phpGW.
> > >
> > 
> > this sounds great, with a bit of class_exists()...
> > if (class_exists($app.'_'.$class))
> > {
> >   //new naming
> > }
> > else
> > {
> >   //old naming
> > }
> 
> Sounds like a good transition plan :)  Then we can remove it during the
> testing cycle when all apps are ported.

It is now available in CVS.  I will look at doing some porting of
classes as soon as I get some time.

Cheers

Dave





reply via email to

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