Re: [PHP4BETA] Calling an Overloaded Method
| From: | Andrei Zmievski | Date: | Fri, 28 Jan 2000 02:51:16 +0000 |
| Subject: | Re: [PHP4BETA] Calling an Overloaded Method | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-9496@lists.php.net to get a copy of this message | ||
On Thu, 27 Jan 2000, Kevin Morris wrote:
> Two questions:
>
> 1. Is there documentation somewhere for all the new feature of php4
> (especially the object oriented enhancements).
> 2. Anyone know the syntax for calling an overloaded method from within a
> child class? For Example,
>
> Class foo {
>
> function doIt() {
> echo "test \n";
> }
> }
>
> Class bar extends foo {
> function doIt() {
>
> $parent->doIt() // <<<--- want to do something like this !
> echo "bar test";
foo::doIt() should do it.
-Andrei