Re: [PHP] Inheritance problem

2002-12-01 Thread Ernest E Vogelsinger
At 13:05 01.12.2002, Bernard Chamberland said: [snip] >Hi, [snip] [...omitting long code post...] Bernard, couple of things: a) Class "Ressource" uses instance data ("$this->") in the constructor. You shouldn't call

Re: [PHP] Inheritance problem

2002-12-01 Thread Tom Rogers
Hi, Sunday, December 1, 2002, 10:05:53 PM, you wrote: BC> Hi, BC> I would like to post the following question related to an inheritance BC> problem with PHP OO programming : BC> With an object of a subclass, I call a method of the parentclass in order BC> to modify an attribute of the parentc

[PHP] Inheritance problem

2002-12-01 Thread Bernard Chamberland
Hi, I would like to post the following question related to an inheritance problem with PHP OO programming : With an object of a subclass, I call a method of the parentclass in order to modify an attribute of the parentclass. It does work correctly but later when I call the display method of t