Re: [PHP] PHP class and extends

2003-09-24 Thread Burhan Khalid
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);

RE: [PHP] PHP class and extends

2003-09-23 Thread Golawala, Moiz M (IndSys, GE Interlogix)
You can do one of 2 things. 1. You can comment out the ExecuteQuery Function in the child class. 2. When you call the function in the child class simply call it as Parent::ExecuteQuery. This way php will know what function you are trying to call. cheers Moiz -Original Message- From: