Welcome Guest, Not a member yet? Register   Sign In
extending base controller
#2

[eluser]Johan André[/eluser]
Well, create a MY_Controller.php in library-folder. Then let your controllers extend MY_Controller.
I actually use a frontend and backend controller that extends the MY_Controller-class. Works like a charm.

And I place the Frontend and Backend-class in the same file as MY_Controller.php (since it's loaded automatically). Don't know if thats the best way to do it though...


Messages In This Thread
extending base controller - by El Forum - 07-14-2009, 10:19 AM
extending base controller - by El Forum - 07-14-2009, 03:31 PM
extending base controller - by El Forum - 07-15-2009, 12:39 AM
extending base controller - by El Forum - 07-15-2009, 08:26 AM
extending base controller - by El Forum - 07-15-2009, 08:39 AM
extending base controller - by El Forum - 09-15-2009, 10:38 AM
extending base controller - by El Forum - 09-15-2009, 10:50 AM
extending base controller - by El Forum - 09-15-2009, 11:11 AM
extending base controller - by El Forum - 09-15-2009, 08:48 PM
extending base controller - by El Forum - 09-15-2009, 09:15 PM
extending base controller - by El Forum - 09-15-2009, 09:18 PM
extending base controller - by El Forum - 09-15-2009, 10:56 PM
extending base controller - by El Forum - 09-16-2009, 07:45 PM
extending base controller - by El Forum - 09-17-2009, 04:09 AM
extending base controller - by El Forum - 09-17-2009, 11:21 AM
extending base controller - by El Forum - 09-17-2009, 12:45 PM
extending base controller - by El Forum - 09-17-2009, 02:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB