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

[eluser]AgentPhoenix[/eluser]
So I'd create MY_main.php in my controllers directory and create all the methods I want to use. Does this mean that I have to create a route to redirect main to MY_main in the URL or is CI smart enough to do all that? Then, I assume the main.php would then extend MY_main and the constructor would be parent::MY_main?


Messages In This Thread
Extending Application Controller - by El Forum - 07-21-2008, 06:07 AM
Extending Application Controller - by El Forum - 07-21-2008, 06:19 AM
Extending Application Controller - by El Forum - 07-21-2008, 06:50 AM
Extending Application Controller - by El Forum - 07-21-2008, 06:55 AM
Extending Application Controller - by El Forum - 07-21-2008, 06:59 AM
Extending Application Controller - by El Forum - 07-21-2008, 07:03 AM
Extending Application Controller - by El Forum - 07-21-2008, 07:09 AM
Extending Application Controller - by El Forum - 07-21-2008, 07:12 AM
Extending Application Controller - by El Forum - 07-21-2008, 08:32 AM



Theme © iAndrew 2016 - Forum software by © MyBB