> I know, and the really bad news is that as long as PHP has no decend OO > System with visibility modifiers (private, protected, public) and > Namespaces, we will never get rid of them :-(. > > On approach is to define your own namespaces, like I did in MidCOM. This > at least saves you some trouble with variables redefined on different > points of the code.
Or I think that I could make some snippet with globals and include it in every function. As it will define many $variables per function, it could make all $variables be defined in one place without any need for remember and define $variables for every function. I looked at http://www.nathan-syntronics.de/midgard/snippets/mgd_xxx_custom_fields_param.html and I do not understand it for 100%. It saves object all field or only some info about it? Anyway I see MidCom as set of custom functions to manage host and site. Right? Piotras --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
