On Tue, 2006-12-26 at 19:41 -0600, Chris Weiss wrote:
> On 12/26/06, Dave Hall <[EMAIL PROTECTED]> 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.
Cheers
Dave
--
Dave Hall (aka skwashd)
API Coordinator
phpGroupWare
e [EMAIL PROTECTED]
w phpgroupware.org
j [EMAIL PROTECTED]
sip [EMAIL PROTECTED]
_ ____ __ __
_ __ | |__ _ __ / ___|_ __ ___ _ _ _ _\ \ / /_ _ _ __ ___
| '_ \| '_ \| '_ \| | _| '__/ _ \| | | | '_ \ \ /\ / / _` | '__/ _ \
| |_) | | | | |_) | |_| | | | (_) | |_| | |_) \ V V / (_| | | | __/
| .__/|_| |_| .__/ \____|_| \___/ \__,_| .__/ \_/\_/ \__,_|_| \___|
|_| |_| |_|Web based collaboration platform
_______________________________________________
phpGroupWare-developers mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-developers