Welcome Guest, Not a member yet? Register   Sign In
Best Practice - Should I load a view for content or process the data in the controller
#2

[eluser]Phil Sturgeon[/eluser]
If you do it in the controller you'd end up doing it every time. I would be tempted to create a plugin, or extend the Controller class (search MY_Controller) to give you a method of adding PHP to every pageload.


Messages In This Thread
Best Practice - Should I load a view for content or process the data in the controller - by El Forum - 08-04-2009, 08:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB