Accessibility problem with delegates

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux