Calling an Overloaded Method

From: Date: Fri, 28 Jan 2000 02:55:13 +0000
Subject: Calling an Overloaded Method
Groups: php.version4 
Request: Send a blank email to php-version4+get-9495@lists.php.net to get a copy of this message
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"; } } $b = new bar(); $b->doIt(); ---------------------------------- result would be: test bar test Thanks, Kevin Morris

« previous php.version4 (#9495) next »