Re: [PHP4BETA] calling member in parent class
| From: | Christian Schneider | Date: | Fri, 04 Feb 2000 12:58:33 +0000 |
| Subject: | Re: [PHP4BETA] calling member in parent class | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9801@lists.php.net to get a copy of this message | ||
Stefan Lindmark - Sun Sweden - SE Manager wrote:
> Having "parent->method()" means less potential bugs while being obvious
> for programmers coming from other OO-like languages.
I'd say we should use $super->method() (or $parent->method() if you
prefer that) as we have $this->method() already.
This might influence the way it has to be implemented although I didn't
check how $this is handled.
- Chris
--
Chris Schneider - mailto:cschneid@relog.ch
Computers are not intelligent. They only think they are.