On Wednesday 31 July 2002 18:36, lallous wrote:
> Hello when I extended a class and overwrite a function, can i after
> overwriting that function call it so it does what it used to do?
>
> for example in Delphi I say:
>
> procedure TMyExtendedClass.Proc1;
> begin
> // do new stuff here
> inherited; // calls the TMyClass.Proc1;
> end;

Yes.

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
Q:      What do you call a WASP who doesn't work for his father, isn't a
        lawyer, and believes in social causes?
A:      A failure.
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to