Re: class effeciency
| From: | Mika Tuupola | Date: | Thu, 28 Feb 2002 19:09:22 +0000 |
| Subject: | Re: class effeciency | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-86643@lists.php.net to get a copy of this message | ||
On Thu, 28 Feb 2002, Nick Wilson wrote:
> It is only the *properties* that are different in each language class
> not the methods so I'm including all the same methods twice! That
> doesn't seem terribly efficient.
There is no need to rewrite the methods. See:
http://www.php.net/manual/en/keyword.extends.php
--
Mika Tuupola http://www.appelsiini.net/~tuupola/