Welcome Guest, Not a member yet? Register   Sign In
Extending a controller with __construct not working
#5

[eluser]frist44[/eluser]
Did you try using it for the parent call too? I don't know if this is the problem, but I'm looking at my MY_Controller.php and it has something like this:

Code:
class Main extends Controller{
    
    function __construct(){
        parent::__construct();
        
    }


Messages In This Thread
Extending a controller with __construct not working - by El Forum - 12-21-2009, 10:40 AM
Extending a controller with __construct not working - by El Forum - 12-21-2009, 11:58 AM
Extending a controller with __construct not working - by El Forum - 12-21-2009, 01:50 PM
Extending a controller with __construct not working - by El Forum - 12-21-2009, 02:12 PM
Extending a controller with __construct not working - by El Forum - 12-21-2009, 07:47 PM
Extending a controller with __construct not working - by El Forum - 12-21-2009, 09:54 PM
Extending a controller with __construct not working - by El Forum - 12-22-2009, 12:47 AM



Theme © iAndrew 2016 - Forum software by © MyBB