note 51189 added to function.get-class-methods
| From: | rdude at fuzzelfish dot com | Date: | Wed, 23 Mar 2005 05:42:19 +0000 |
| Subject: | note 51189 added to function.get-class-methods | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-86824@lists.php.net to get a copy of this message | ||
In PHP5, you cannot use get_class_methods by itself if you are trying to figure out what functions
you can call from a certain class. This is because get_class_methods returns an array containing all
methods of the class, even those that are private and protected.
----
Manual Page -- http://www.php.net/manual/en/function.get-class-methods.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+51189
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+51189&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+51189&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+51189&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+51189&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+51189&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+51189&report=yes
Search -- http://master.php.net/manage/user-notes.php