Class methods and inheritance...
| From: | Steve Cayford | Date: | Tue, 11 Dec 2001 20:06:52 +0000 |
| Subject: | Class methods and inheritance... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77337@lists.php.net to get a copy of this message | ||
Hi. Is there a way to find the class name of a method when called in the class::method() format? If called on an object (eg. object->method()) I could just ask for get_class($this), but when called as class::method(), $this should not be defined. Anyway around this?
Thanks.
-Steve