Welcome Guest, Not a member yet? Register   Sign In
Suggestion for extension of controller
#2

Just think of the BaseController as the MY_Controller same principle.

Only thing you will need to change is your checking for logged in etc.;
You will need to create a Filter for that. Also the Controllers do not use
a __contrust they use a initController meyhod instead.

A good example is Myth/Auth, I suggest that you take a look at it.

Myth:Auth
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: Suggestion for extension of controller - by InsiteFX - 11-30-2020, 12:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB