I believe PHP deals with classes the same way as other OOP programming languages.But surprisingly it does not, I hope. Here is a situation I came across, I have 2 classes "Controller" and "Controller_login" where
Code: Select all
class Controller_login extends ControllerCode: Select all
parent::getModel();In a general OOP environment this should not have happened?!!
I am concluding that PHP has got this peculiar behaviour, so one has to live with it.
Please suggest whether my understanding is correct ?
thank you