Re: calling a overwritten method???

From: Date: Wed, 23 May 2001 17:13:49 +0000
Subject: Re: calling a overwritten method???
References: 1 2 3 4 5  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-163@lists.php.net to get a copy of this message
> You can use parent::foo() syntax. 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 } }

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