RE: [PHP4BETA] calling member in parent class
| From: | Stanislav Malyshev | Date: | Fri, 04 Feb 2000 21:59:33 +0000 |
| Subject: | RE: [PHP4BETA] calling member in parent class | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9836@lists.php.net to get a copy of this message | ||
MR>> Why change the name of a parent class anyway, especially with tons
MR>> of code relying on it. I may be missing something, but I can't figure out
MR>> a real reason why I would ever want to do this.
MR>>
That's an easy question. This happens when you promote some set of
features common to all children of some class to be a new intermediate
parent class. Pretty common case. But, here you have not to change all the
explicit reference to old parent class, unless you override exactly the
same function you were calling.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665