CTphpnwb, on 04 October 2012 - 11:10 AM, said:
No, your child class inherits all of the abstract class variables.
I think your teacher wants to demonstrate that the child class will overload the abstract class definition of the function.
I think your teacher wants to demonstrate that the child class will overload the abstract class definition of the function.
Maybe so, but I still think the instructions could have been clearer. I should be having trouble implementing it, not interpreting it. But thank you though, that might be an explanation for that part. What do you think I should do about the set/get functions though? I have them in the abstract class, which means, the child class should inherit them. I can use $this->setFornafn in the child class for an example, but when I call $this->fornafn the variable contains nothing. So that would indicate I was wrong about that part.
But thank you guys for your patience - I tend to over-analyze everything and that can be problematic.

New Topic/Question
Reply




MultiQuote



|