Welcome Guest, Not a member yet? Register   Sign In
avoiding repetition of code
#5

[eluser]crumpet[/eluser]
I'll try that
each of my controllers has a variable called $template which is passed to the load->view function
so I want to assign keys in that variable $template. When i access that variable from a function within a class I go $this->template['key'] = ... so i didn't think that i could access that variable from within a library.


Messages In This Thread
avoiding repetition of code - by El Forum - 09-03-2008, 11:02 AM
avoiding repetition of code - by El Forum - 09-03-2008, 11:11 AM
avoiding repetition of code - by El Forum - 09-03-2008, 11:27 AM
avoiding repetition of code - by El Forum - 09-03-2008, 11:46 AM
avoiding repetition of code - by El Forum - 09-03-2008, 03:00 PM
avoiding repetition of code - by El Forum - 09-03-2008, 03:19 PM
avoiding repetition of code - by El Forum - 09-03-2008, 04:21 PM



Theme © iAndrew 2016 - Forum software by © MyBB