Re: [PHP4BETA] Child function never get called
| From: | Andi Gutmans | Date: | Mon, 26 Jul 1999 15:10:58 +0000 |
| Subject: | Re: [PHP4BETA] Child function never get called | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-2765@lists.php.net to get a copy of this message | ||
At 11:06 AM 7/26/99 +0200, Johan Isacsson wrote:
Hi. I have a problem with an overriding child function. The parent function gets called instead of the child function. I've tried to chane name of the child function to something that no function in the parent object has and it works then. Any ideas?If you override the child function only the parent function will be called. You can explictly call the child function from your parent function with the classname::function_name() function call syntax. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/