Re: [PHP4BETA] Object property collection?
| From: | Andrei Zmievski | Date: | Mon, 01 May 2000 16:23:14 +0000 |
| Subject: | Re: [PHP4BETA] Object property collection? | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-14275@lists.php.net to get a copy of this message | ||
On Tue, 02 May 2000, Mark Constable wrote:
> Excellent.
>
> Is there some way to determine what classes are available in the current
> active session (so one could automatically roll thru all classes) ?
There is now. I've just added get_declared_classes(). Returns an array
of class names.
> Will function/method names ever be visible too (one day parhaps) ?
There is get_class_methods() function that will return an array of names
of class methods. I don't think we have a function that returns an array
of all declared functions - is it necessary?
-Andrei
If you find a job that you love, you'll
never work another day in your life.
- Mark Jackson