Welcome Guest, Not a member yet? Register   Sign In
How can helpers access $this->load->vars($data) ?
#1

[eluser]stormbytes[/eluser]
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).

Thanks!
#2

[eluser]tonanbarbarian[/eluser]
why not just pass any necessary variables to the helper when you call it in the view
#3

[eluser]stormbytes[/eluser]
Common sense clearly fails me tonight.

Thanks!




Theme © iAndrew 2016 - Forum software by © MyBB