Repeat function in every controller |
[eluser]wex69[/eluser]
Im not entirely sure, but i guess you would extend the Controller class. Using My_Controller etc, you can create a controller class which checks for messeages on each load? (Doc: http://ellislab.com/codeigniter/user-gui...asses.html) Im searching for the same thing, so let me know if you find a good soloution This might do it: http://ellislab.com/forums/viewthread/173797/ http://philsturgeon.co.uk/news/2010/02/C...ing-it-DRY |
Messages In This Thread |
Repeat function in every controller - by El Forum - 04-03-2011, 07:16 AM
Repeat function in every controller - by El Forum - 04-03-2011, 03:46 PM
|