Re: Getting Function and Method Prototypes
| From: | Ignacio Vazquez-Abrams | Date: | Wed, 13 Dec 2000 02:56:31 +0000 |
| Subject: | Re: Getting Function and Method Prototypes | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-30009@lists.php.net to get a copy of this message | ||
On Tue, 12 Dec 2000, Ignacio Vazquez-Abrams wrote:
> On Tue, 12 Dec 2000, Steven Roussey wrote:
>
> > Hi!
> >
> > I have a need to be able to take an arbitrary class name and list its
> > methods and their parameters. Using get_class_methods will get me the first,
> > but how can I get the parameters?
> >
> > Sincerely,
> >
> > Steven Roussey
> > Network54.com
> > http://network54.com/?pp=e
> >
>
> I was going to put in some cheeky response about not reading the manual, but
> never mind.
>
> get_class_vars()
>
Of course, it helps if I read the question, too. :)
I don't believe there is any way of getting the arguments of any function
from outside it, but I could be wrong.
--
Ignacio Vazquez-Abrams <ignacio@openservices.net>