Welcome Guest, Not a member yet? Register   Sign In
Extending Controller
#3

[eluser]Derek Jones[/eluser]
Code:
function User_Controller() {
        parent::Controller();

You'll want to call your extended class's constructor, not the original Controller() constructor, or your extended class's constructor will never execute e.g.:

Code:
function User_Controller() {
        parent:: Public_Controller();


Messages In This Thread
Extending Controller - by El Forum - 03-21-2008, 05:28 PM
Extending Controller - by El Forum - 03-21-2008, 06:04 PM
Extending Controller - by El Forum - 03-21-2008, 09:19 PM
Extending Controller - by El Forum - 03-21-2008, 09:41 PM
Extending Controller - by El Forum - 03-31-2009, 03:01 AM
Extending Controller - by El Forum - 03-31-2009, 08:56 AM
Extending Controller - by El Forum - 05-24-2009, 06:35 AM
Extending Controller - by El Forum - 05-24-2009, 07:22 AM
Extending Controller - by El Forum - 05-24-2009, 07:38 AM



Theme © iAndrew 2016 - Forum software by © MyBB