Page 1 of 1
Get augments of a method
Posted: Thu Jun 07, 2007 11:05 pm
by BlueFlame
Is it possible to get the augments of a method, not the values but the actual names of the variables used, and to do this outside of the class.
Posted: Fri Jun 08, 2007 12:35 am
by Christopher
Take a look at Reflection to see if that kind of data is available.
http://www.php.net/manual/en/language.o ... ection.php
Posted: Mon Jun 11, 2007 5:07 am
by BlueFlame
Never heard of Reflective programming but it certainly looks sexy. Thanks.
Posted: Mon Jun 11, 2007 2:42 pm
by feyd
The names of the arguments is arbitrary, however you can examine that information for a user created function. Internal ones don't reflect much.
Posted: Tue Jun 12, 2007 3:21 am
by BlueFlame
What do you mean by "The names of the arguments is arbitrary".
Posted: Tue Jun 12, 2007 5:02 am
by volka
The names do not matter.