Re: calling a overwritten method???
| From: | Mauricio Souza Lima | Date: | Wed, 23 May 2001 12:45:00 +0000 |
| Subject: | Re: calling a overwritten method??? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-158@lists.php.net to get a copy of this message | ||
See...
Wolfram Kriesing wrote:
>
> is there some suggestion/definition for PEAR how to call overwritten
> methods?
>
> like for the following
>
> class A
> {
> function go()
> {
> // do one thing
> }
> }
>
> class B extends A
> {
> function go()
> {
> // call the parent's method ---- HOW
> // do another thing, additionally
A::go();
> }
> }
>
> Wolfram Kriesing
>
> --
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, e-mail: pear-general-unsubscribe@lists.php.net
> For additional commands, e-mail: pear-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
Ok?
--
Mauricio Souza Lima
Programador - Catho ONLINE
mauricio@catho.com.br www.catho.com.br
mauriciosl@yahoo.com.br