Re: calling a overwritten method???

From: Date: Wed, 23 May 2001 17:10:27 +0000
Subject: Re: calling a overwritten method???
References: 1 2 3 4 5 6  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-164@lists.php.net to get a copy of this message
On Wed, 23 May 2001, Wolfram Kriesing wrote: > isnt that a static function call? > > what if i have > -------------------------------- > class A > { > var $aVar = false; > function go() > > > if( $this->aVar == true ) > do this > else > do that > } > } > > class B extends A > { > function go() > { > $this->aVar = true; > call parent here...., but how? in the way that he knows the value > of $this->aVar > } > } The object state is available when you call parent::method(). -Andrei * We reason deeply, when we forcibly feel. *

« previous php.pear.general (#164) next »