Hi Everyone,

I have a class with some callback functions and a class that should call them. The class with the callback functions initializes the array with the callbacks and hands it down to the other class that should call them. PHP however forces the callback functions to be public, so the other class can call them. This seems rather strange as the callback functions have no meaning when invoked arbitrarily. So I was wondering whether I am doing something wrong. Could someone comment?

Regards,
Dave

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to