note 29374 added to function.method-exists
| From: | matt at NOSPAM dot tux dot appstate dot edu | Date: | Tue, 11 Feb 2003 19:40:41 +0000 |
| Subject: | note 29374 added to function.method-exists | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43793@lists.php.net to get a copy of this message | ||
Just a quick note on the example to find a method with a class name: strtolower the name of the
method:
eg
if (in_array(strtolower($methodName), get_class_methods($className))){
...
}
--
http://www.php.net/manual/en/function.method-exists.php
http://master.php.net/manage/user-notes.php?action=edit+29374
http://master.php.net/manage/user-notes.php?action=delete+29374
http://master.php.net/manage/user-notes.php?action=reject+29374