-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi.

- --On 18.06.2002 11:12:12 +0200 pp wrote:

>> Ups... you weren't the only one sleepy. it should read:
>> 
>>  [1] http://www.nathan-syntronics.de/midgard/snippets/sitemap.html
> 
> Ok, I think I will understand it one day :)
> But I wonder if there is an easy quite smart way to get out 
> problems with global $variables. If I call mgd_walk_topic_tree
> I have to call for a defined function which calls for another one
> and that for another one etc.. etc..
> I go crazy with globals that way....

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.


Live long and prosper!
Torben Nehmer

- --
Torben Nehmer, Munich, Germany
http://www.nathan-syntronics.de, mailto:[EMAIL PROTECTED]
PGP Public Key ID on wwwkeys.(de.)pgp.net: 0x7E9DE456
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9Dvo2JPh4Kn6d5FYRAkaiAJwJEABElYJjObW3iHjxA4jXMHReMgCeMRE8
xLFRQZH7yE7Q3xclM+hHrgE=
=rCs6
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to