Re: PHP class and extends
| From: | Burhan Khalid | Date: | Wed, 24 Sep 2003 18:11:55 +0000 |
| Subject: | Re: PHP class and extends | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-163792@lists.php.net to get a copy of this message | ||
BENARD Jean-philippe wrote:
[ snip ]
Is there something to do in order that when I use xxx_cl_app->ExecuteQuery(), there's a function ExecuteQuery() in xxx_cl_app that do something like this : (xxx_cl_app.php) function ExecuteQuery(x,y) { $tmpResult = [herited_class]->ExecuteQuery(x,y); return array($tmpResult[1], $tmpResult[0]); }This might work : $tmpResult = parent::ExecuteQuery($x,$y); (you forgot the $) -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com