how to ...
| From: | Teodor Cimpoesu | Date: | Mon, 10 Jul 2000 14:57:29 +0000 |
| Subject: | how to ... | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-5738@lists.php.net to get a copy of this message | ||
... check within a method if the call was made via a class resolution, or
an object method invocation?
Is `$this != null' the right way?
Problem is, using something like
isset($this) or $this != null' gives an
ugly warning.
-- teodor