Welcome Guest, Not a member yet? Register   Sign In
Helpers access $this->load->vars($data) ? [take-2]
#1

[eluser]stormbytes[/eluser]
I originally posted this last night & thought the matter resolved. Trying to pass a variable to a Helper through a call just won't work. This is form input so it involves set_value() & validation, etc.

So I'm back to my original question -


I’m writing some helper functions which are called from within a view, and I’m wondering if there’s a way to write the helper function so that it can access variables loaded (from within the originating controller) through $this->load->vars($data). Perhaps some $CI method I don't know of, or some hack/workaround.


Thanks!


Messages In This Thread
Helpers access $this->load->vars($data) ? [take-2] - by El Forum - 11-06-2010, 04:56 PM
Helpers access $this->load->vars($data) ? [take-2] - by El Forum - 11-06-2010, 05:04 PM
Helpers access $this->load->vars($data) ? [take-2] - by El Forum - 11-06-2010, 06:56 PM
Helpers access $this->load->vars($data) ? [take-2] - by El Forum - 11-06-2010, 07:03 PM
Helpers access $this->load->vars($data) ? [take-2] - by El Forum - 11-06-2010, 07:09 PM
Helpers access $this->load->vars($data) ? [take-2] - by El Forum - 11-06-2010, 07:10 PM
Helpers access $this->load->vars($data) ? [take-2] - by El Forum - 11-06-2010, 07:34 PM
Helpers access $this->load->vars($data) ? [take-2] - by El Forum - 11-06-2010, 07:52 PM



Theme © iAndrew 2016 - Forum software by © MyBB