At 04:34 PM 3/29/2003 -0500, Andrei Zmievski wrote:
On Sat, 29 Mar 2003, Timm Friebe wrote:
> > I have the first draft of PHP 5 reflection API ready. You can find it
> > at:
> >
> >   http://www.gravitonic.com/software/php/reflection.txt
> >
> > Comments and suggestions are appreciated.
>
> * ClassType::getMethods([int flags]);
>
> I assume flags is a bitfield of private, public, protected, final
> and so on, defaulting to all of them?

Something like that. I haven't finalized what kind of method searching
will be available. Perhaps one of the flags will be REGEXP with a
optional argument specifying the regexp to match method name against.

I would keep it simple. I don't see much use in regexp and I think if needed this is something to be done in user-land.


Andi


-- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to