Re: OO parent/child relationship

From: Date: Mon, 06 Oct 2003 04:58:50 +0000
Subject: Re: OO parent/child relationship
References: 1 2 3 4 5 6 7  Groups: php.general 
Request: Send a blank email to php-general+get-165136@lists.php.net to get a copy of this message
On Mon, 2003-10-06 at 00:48, Curt Zirzow wrote: > > On the global topic, I would suggest establishing a standard > naming convention for your common globals that are used, I do > something like: > $__object_something__; > > With your global var I can see myself writing something that will > overwrite that $class_ref, Like say if I'm handling something that > has to do with referee's in school classes :) Preceeding the > global vars with '__' or something will keep the namespace clashing > cases down to a minimum. > But if everyone fallows your advice for using __ as a prefix... *grin*. Rob. -- .------------------------------------------------------------. | InterJinn Application Framework - http://www.interjinn.com | :------------------------------------------------------------: | An application and templating framework for PHP. Boasting | | a powerful, scalable system for accessing system services | | such as forms, properties, sessions, and caches. InterJinn | | also provides an extremely flexible architecture for | | creating re-usable components quickly and easily. | `------------------------------------------------------------'

« previous php.general (#165136) next »