[eluser]nk94555[/eluser]
In controller:
$this->session->set_flashdata('flow', 'web');
$this->load->view('quote_summary',$data);
In view:
$this->load->helper('my_app_ui');
I created a helper "my_app_ui".
Calling the following function from view:
echo printSumRow($firm_data,'email','Email');
function printSumRow($pData,$pField,$pLabel,$pLongText=FALSE)
{
$flow = $this->session->flashdata('flow');
.
.
}
Inside the printSumRow function in helper I don't have access to $this->session. I can read this in view. I don't want to pass this in each and every function call to "printSumRow", I thought session might do.
Thanks