Re: Newbie Help (CLASS WAR!)

From: Date: Fri, 27 Jul 2001 10:25:45 +0000
Subject: Re: Newbie Help (CLASS WAR!)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-59913@lists.php.net to get a copy of this message
In article <4.3.2.20010727094739.00b7ca40@mail.steptwo.com.au>, bwhite@steptwo.com.au (Brian White) wrote: > There are times when I would really like to be able to do: > > class A > { > function DoStuff() > { > ..... > } > } > > class B extends A > { > function DoStuff() > { > ..... > $super->DoStuff(); // Calls the function in A > } > } Maybe I'm misunderstanding you, but isn't that what the A::DoStuff() syntax does? -- CC

« previous php.general (#59913) next »