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

Hi Piotr.

- --On 18.06.2002 10:38:51 +0200 pp wrote:

>>    function callback (int $id, int $level, mixed & $param);
> 
> that's why the last thing which is not clear for me is "mixed & $param".

"param" is a custom parameter that you can pass to your function. This is
a common practice in callbacks, becaus you cannot directly call them. It
gives you a way of both passing a parameter to the callback and
retrieving some result from it. To be able to do both things it has to be
defined as a reference.


>> For a working example see the Sitemap Code [1] in my Midgard
>> Knowledgebase [2].
>> 
>>  [1] http://www.nathan-syntronics.de/midgard/sitemap.html
> 
> I have tried but I have got the four floor in the hotel with 404 room :)

Ups... you weren't the only one sleepy. it should read:

 [1] http://www.nathan-syntronics.de/midgard/snippets/sitemap.html


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)

iD8DBQE9DvPeJPh4Kn6d5FYRAvCLAJ4vgF6ytdIgFtbBYBcr2Kzb7O0gBgCg3mzE
Csrrg4uH3JSPxMv5il6msbU=
=oM+v
-----END PGP SIGNATURE-----


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

Reply via email to