[PHP] Querying an object's functions

2001-09-24 Thread Steve Cayford
Is there any way in PHP 4.0.6 to query an object for its member functions? For example I have a couple classes that have an htmlString() function to display themselves in some special way as html. I'd like to go through a list of various objects, find out if each can run htmlString() and if

Re: [PHP] Querying an object's functions

2001-09-24 Thread Rasmus Lerdorf
http://www.php.net/manual/en/function.get-class-methods.php On Mon, 24 Sep 2001, Steve Cayford wrote: Is there any way in PHP 4.0.6 to query an object for its member functions? For example I have a couple classes that have an htmlString() function to display themselves in some special way as

Re: [PHP] Querying an object's functions

2001-09-24 Thread Steve Cayford
Thanks. Sorry for missing that. -Steve On Monday, September 24, 2001, at 05:54 PM, Rasmus Lerdorf wrote: http://www.php.net/manual/en/function.get-class-methods.php On Mon, 24 Sep 2001, Steve Cayford wrote: Is there any way in PHP 4.0.6 to query an object for its member functions? For