Welcome Guest, Not a member yet? Register   Sign In
Recommended practice for applying actions common to all controllers
#3

[eluser]CroNiX[/eluser]
Yes, using MY_Controller is the way to do that. You may or may not need to go the extra mile that Phil describes by creating multiple base controllers depending on the complexity of your app. But CI has MY_Controller functionality built in. You just need to create one and have all other controllers extend MY_Controller instead of CI_Controller.


Messages In This Thread
Recommended practice for applying actions common to all controllers - by El Forum - 06-30-2014, 10:23 AM



Theme © iAndrew 2016 - Forum software by © MyBB