note 48097 added to language.oop5.reflection
| From: | russ dot collier at gmail dot com | Date: | Sat, 11 Dec 2004 15:34:23 +0000 |
| Subject: | note 48097 added to language.oop5.reflection | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-81692@lists.php.net to get a copy of this message | ||
While this is probably obvious to many people (it wasn't to me ;-P), the
ReflectionClass::getProperties() method does _NOT_ return inherited properties when reflecting
subclasses.
----
Manual Page -- http://www.php.net/manual/en/language.oop5.reflection.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+48097
Delete -- http://master.php.net/manage/user-notes.php?action=delete+48097&report=yes
Reason: bad code -- http://master.php.net/manage/user-notes.php?action=delete+48097&report=yes&reason=bad+code
Reason: spam -- http://master.php.net/manage/user-notes.php?action=delete+48097&report=yes&reason=spam
Reason: useless example -- http://master.php.net/manage/user-notes.php?action=delete+48097&report=yes&reason=useless+example
Reason: contains commercial links -- http://master.php.net/manage/user-notes.php?action=delete+48097&report=yes&reason=contains+commercial+links
Reason: useless note -- http://master.php.net/manage/user-notes.php?action=delete+48097&report=yes&reason=useless+note
Reject -- http://master.php.net/manage/user-notes.php?action=reject+48097&report=yes
Search -- http://master.php.net/manage/user-notes.php