Welcome Guest, Not a member yet? Register   Sign In
Using common functionality in all pages (frame) of a CI site
#3

[eluser]Dam1an[/eluser]
Hi
If you have some quieries/logic which is common to every function your controllers, you can extend the CI Controller with your own MY_Controller and then use this for your controllers.
You can then put all common login into the constructor there

There are plenty of threads already covering this in the forums, so a search for "MY_Controller" should bring up a few useful threads


Messages In This Thread
Using common functionality in all pages (frame) of a CI site - by El Forum - 05-23-2009, 05:18 AM



Theme © iAndrew 2016 - Forum software by © MyBB