Clarification about MY_Controller and relative inheritances |
(04-17-2017, 02:56 PM)Martin7483 Wrote: I believe looking at what he posted this is missing in the constructor of MY_Controller But, if MY_Controller does not mess with any CI_Controller properties (and it only has one - private static $instance; so there is nothing to mess with) then technically he does not need to explicitly call the base class constructor. PHP will do it anyway. |
Welcome Guest, Not a member yet? Register Sign In |