Re: [PHP4BETA] calling member in parent class

From: Date: Wed, 02 Feb 2000 22:05:40 +0000
Subject: Re: [PHP4BETA] calling member in parent class
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-9695@lists.php.net to get a copy of this message
Eike Stepper wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > hello, > > does anyone know, how to call a virtual member function > within a parent class? > > yours > eike stepper err, I'm not sure I got you right, but wouldn't that be simply $this->method() ? Othewise, you can't have virtual functions, cause you don't have this concept in PHP (every function overrides the previous definition) but you will always be able to use the Parent::method() or Class::method() way. -- 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 (#9695) next »