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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.