How to call parent's class constructor?

From: Date: Sat, 24 Jun 2000 18:39:08 +0000
Subject: How to call parent's class constructor?
Groups: php.general 
Request: Send a blank email to php-general+get-2925@lists.php.net to get a copy of this message
Hi, I have the following situation: class Foo { // constructor function Foo() { ... } } class FooBar { // constructor function FooBar() { ... } } Now I need to call Foo's constructor from within FooBar's constructor. In the manual it says: "For derived classes, the constructor of the parent class is not automatically called when the derived class's constructor is called." I understand that it is not automatically called, but how do I call it manually? -- Homepage : http://gravedancer.rc5.de \ eMail: sebastian.bergmann@web.de PHP-Stand auf Europas größter Linux-Messe: 'Linux-Tag' ! weitere Infos @ http://www.dynamic-webpages.de/

« previous php.general (#2925) next »