Re: request
| From: | Andrei Zmievski | Date: | Sun, 22 Apr 2001 01:16:48 +0000 |
| Subject: | Re: request | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-52121@lists.php.net to get a copy of this message | ||
At 06:36 PM 4/21/01 -0400, Stig Sæther Bakken wrote:
Okay, what about this one: If two inherited classes define the same method, the inheriting class has to redefine it. This way the inheriting class can be explicit in how to combine or override the inherited methods.This would work if the number of such methods is low, and if these methods are defined in the immediate ancestors of the class. If it's further up the hierarchy, then the user writing the class has to know which classes its parent classes inherit from and so on.
We'd need a way of referring to any inherited class's methods though.Yes, of course. -Andrei