Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001072

Re: [PHP] Newbie Help (CLASS WAR!) From: CC Zona (cczona <email protected>)
Date: 07/27/01

In article <4.3.2.20010727094739.00b7ca40 <email protected>>,
 bwhite <email protected> (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

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>