Welcome Guest, Not a member yet? Register   Sign In
where to put vars for use in all controller's functions?
#6

[eluser]alpineedge3[/eluser]
yes that's it.

Code:
$this->load->view('v_photoalbums',$this->data);

I have global variables from Myglobals class that I also want to pass to the view so I thought I would add them to $this->data. Is there a better way?


Messages In This Thread
where to put vars for use in all controller's functions? - by El Forum - 12-29-2007, 02:26 PM



Theme © iAndrew 2016 - Forum software by © MyBB