Welcome Guest, Not a member yet? Register   Sign In
single construct for all controllers
#1

[eluser]jtan[/eluser]
Is it possible to have single construct across several controllers?
#2

[eluser]skunkbad[/eluser]
[quote author="jtan" date="1305447714"]Is it possible to have single construct across several controllers?[/quote]

It is if you extend CI_Controller. Make a MY_Controller and put it in application/core.
#3

[eluser]jtan[/eluser]
right now, I make My_Controller and extends CI_Controller then make the new controller extend from My_Controller

is my understanding correct that:

I make My_Controller and place it in application/core then just extend the new class from My_Controller the usual way?
#4

[eluser]jtan[/eluser]
thanks, working now




Theme © iAndrew 2016 - Forum software by © MyBB