Re: Newbie Help (CLASS WAR!)

From: Date: Sun, 29 Jul 2001 22:54:19 +0000
Subject: Re: Newbie Help (CLASS WAR!)
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-60122@lists.php.net to get a copy of this message
At 03:25 27/07/2001 -0700, CC Zona wrote:
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?
No that is exactly what I want. I am now a mixture of a) embarressed at not reading the docs carefully enough . b) extremely pleased that I have learned something very useful. Thank you. Regs Brian White ------------------------- Brian White Step Two Designs Pty Ltd - SGML, XML & HTML Consultancy Phone: +612-93197901 Web: http://www.steptwo.com.au/ Email: bwhite@steptwo.com.au

« previous php.general (#60122) next »