How CodeIgniter do the data parsing from array? |
[eluser]Chris Newton[/eluser]
Weird. In my views I always do exactly what you're talking about, without having to use $this->var1. In fact, the manual at: http://ellislab.com/codeigniter/user-gui...views.html shows exactly what you're requesting. The only time I have to use $this->var is when I've set that variable OUTSIDE of the function calling the view... for instance when I set a variable in the constructor function. |
Messages In This Thread |
How CodeIgniter do the data parsing from array? - by El Forum - 02-16-2008, 12:39 PM
How CodeIgniter do the data parsing from array? - by El Forum - 02-16-2008, 02:37 PM
How CodeIgniter do the data parsing from array? - by El Forum - 02-16-2008, 04:32 PM
How CodeIgniter do the data parsing from array? - by El Forum - 02-16-2008, 08:54 PM
|