Re: Parameter types via Reflection
| From: | Christian Weiske | Date: | Sat, 14 Jan 2006 12:21:11 +0000 |
| Subject: | Re: Parameter types via Reflection | ||
| References: | 1 | Groups: | php.gtk.doc |
| Request: | Send a blank email to php-gtk-doc+get-1760@lists.php.net to get a copy of this message | ||
Anant,
> Am I missing something, or is it really not possible to determine the
> type of a parameter via reflection objects?
It is possible for object types (GtkWindow, GtkEntry), but not for
primitive types (int, bool, string and so). Dev_Inspector displays
parameter types:
$type = $parameter->getClass();
--
Regards/MfG,
Christian Weiske
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc