Clarification about MY_Controller and relative inheritances |
@Diederik and @marksman,
The OP already has all this child classes in the same file as MY_Controller so he has no need of an autoloader. Not that I agree with that technique but it does work. His Dashboard class seems to load (at least his post implies it does) so that means all the parent classes are being constructed. Makes me wonder if the code he is actually running has a typo. I don't see one in the code he presented. The exact error message may shed some light things. As best I can tell the test case I posted earlier recreates the structure Giorgio describes and it works perfectly. |
Welcome Guest, Not a member yet? Register Sign In |