You are here: Re: Calling member functions from expat parser « PHP Programming Language « IT news, forums, messages
Re: Calling member functions from expat parser

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация