Re: [PHP4BETA] OOP issue

From: Date: Tue, 16 Nov 1999 18:54:29 +0000
Subject: Re: [PHP4BETA] OOP issue
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-6310@lists.php.net to get a copy of this message
Chad wrote: > > What if one wanted to call the super constructor and do further > initialization? i.e. > > class Node { > function Node() { > $parent->init(); > do localized initialization... > } > } > > Not a lot of call for this, but it would be nice :) This is already available :) function Node() { ParentClassName::init(); do localized initialization... } -- CIMPOESU Teodor, Web Programmer @ DIGICOM S.A. Bucharest, Romania @ Internet, site development @ teo@digiro.net , +(401)-330.47.28 official home page ~ http://www.digiro.net/ Internet web page ~ http://internet.digiro.net/

« previous php.version4 (#6310) next »