Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] My_Controller ?
#4

[eluser]qcsites[/eluser]
You should follow the directions exactly in the link exactly. The controller needs to be named MY_Controller in order for it to be extended.

You should then return the data you will want to use in controllers you extend from the MY_Controller.

So your MY_Controller file name would be MY_Controller.php as shown.

Then the extended controllers operate as normal controllers, but for things you need site wide in all controllers, you can put that in the MY_Controller. Stuff like session management, site settings stuff etc.


Messages In This Thread
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 05:56 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 06:02 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 06:06 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:02 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:18 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 07:36 PM
[SOLVED] My_Controller ? - by El Forum - 09-14-2012, 10:58 PM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 11:55 AM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 11:57 AM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 12:03 PM
[SOLVED] My_Controller ? - by El Forum - 09-15-2012, 04:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB