Re: on the subject of overloading: __call()
| From: | Stanislav Malyshev | Date: | Sun, 17 Nov 2002 11:39:33 +0000 |
| Subject: | Re: on the subject of overloading: __call() | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91167@lists.php.net to get a copy of this message | ||
BB>> related topic: in the current state of ze2, there are several ways to
BB>> call methods directly that can't be emulated by call_user_func() -
BB>> calling self::method() for instance, or the visibility of $this if
BB>> you call class::method(). is that likely to stay true?
Since __call is the method of the class, calling self::method can be
achieved, I think. As for the second point - could you please explain
furher what you mean, maybe with an example?
--
Stanislav Malyshev, Zend Products Engineer
stas@zend.com http://www.zend.com/ +972-3-6139665 ext.109