Welcome Guest, Not a member yet? Register   Sign In
Ok to set userdata session variables in admin controller?
#3

[eluser]CodeIgniteMe[/eluser]
The best way if to pass data as variables like instructed on the UserGuide Views
because having access to the $this object from the view can create accidental overwriting of the properties of $this or $this itself. therefor violating the MVC model.

I am only pertaining to the way you pass the data though. But as long as you know what you are doing, you can bravely experiment.


Messages In This Thread
Ok to set userdata session variables in admin controller? - by El Forum - 06-20-2012, 11:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB