Re: [PHP] callbacks to methods inside a class/object

2002-09-17 Thread Tom Rogers
Hi, Wednesday, September 18, 2002, 7:15:36 AM, you wrote: DM> Is there a "clean" way to make use of PHP builtins that use callbacks and DM> point those call backs to a method inside the class/object: DM> A good example would be: DM> ... DM> class XMLClass { DM> var $parser; DM> functio

[PHP] callbacks to methods inside a class/object

2002-09-17 Thread Douglas Marsh
Is there a "clean" way to make use of PHP builtins that use callbacks and point those call backs to a method inside the class/object: A good example would be: ... class XMLClass { var $parser; function XMLClass() { $this->parser = xml_parser_create(); xml_parser_set_option($this