I have a function in one of my views, and I want to access one of the variables available to the view through CodeIgniter's data array.
For example; in my controller I have this:
$this->load->view('someview', array(
'info' => 'some info'
));
Now, within my view, I have a function, and I want to be able to access the variable $info from within that function scope.
Is that possible?