Welcome Guest, Not a member yet? Register   Sign In
$this->load->vars()
#7

[eluser]xwero[/eluser]
Php doesn't make care what type the object is, that is a logical difference. So if you add the variable with the name vars but if you load a library with the same name it's likely somewhere down the line you get bugs.

The loader already keeps an array of the variables for the view files so i don't see why you need another way to store them.


Messages In This Thread
$this->load->vars() - by El Forum - 11-19-2008, 12:44 PM
$this->load->vars() - by El Forum - 11-19-2008, 01:10 PM
$this->load->vars() - by El Forum - 11-19-2008, 02:38 PM
$this->load->vars() - by El Forum - 11-20-2008, 06:01 AM
$this->load->vars() - by El Forum - 11-20-2008, 06:17 AM
$this->load->vars() - by El Forum - 11-20-2008, 06:27 AM
$this->load->vars() - by El Forum - 11-20-2008, 07:03 AM
$this->load->vars() - by El Forum - 11-20-2008, 07:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB