How CodeIgniter do the data parsing from array? |
[eluser]Unknown[/eluser]
[quote author="Rick Jolly" date="1203215835"]The php function extract(): http://ca3.php.net/extract You could look at the CI Loader class to find out how it's used.[/quote] Thank you, that's exactly what I'm looking for. [quote author="mahuti" date="1203222760"]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.[/quote] Nah, I'm coding my own script, not using CI Cheers |
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
|