|
Posted by Andy Jeffries on 10/07/06 11:43
On Mon, 27 Mar 2006 08:18:28 -0800, Richard Levasseur wrote:
> http://us2.php.net/manual/en/language.pseudo-types.php#language.types.callback
>
> In php, callbacks take the following forms: - A string, ie: function
> foo(); do_callback('foo'); - A two element array with the object/class
> and the function, ie: array($objInstance, 'method'), or array('ClassName',
> 'method')
>
> The method must be public (for obvious reasons).
>
> So, yes, should be possible.
Thanks mate, that's brilliant (and it'll have to be public, limited to
PHP4 as per my prev post).
Cheers,
Andy
--
Andy Jeffries MBCS CITP ZCE | gPHPEdit Lead Developer
http://www.gphpedit.org | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Navigation:
[Reply to this message]
|