Suggestion for extension of controller |
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 )
|
Messages In This Thread |
Suggestion for extension of controller - by Matleyx - 11-30-2020, 10:23 AM
RE: Suggestion for extension of controller - by InsiteFX - 11-30-2020, 12:37 PM
RE: Suggestion for extension of controller - by Matleyx - 12-02-2020, 07:44 AM
RE: Suggestion for extension of controller - by InsiteFX - 12-02-2020, 10:13 AM
RE: Suggestion for extension of controller - by Matleyx - 12-02-2020, 10:41 AM
RE: Suggestion for extension of controller - by InsiteFX - 12-02-2020, 10:56 AM
|