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.

-Andrei                                       http://www.gravitonic.com/

"Beware of bugs in the above code; I have only proved it correct,
 not tried it." -- Donald Knuth

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

Reply via email to