Is it possible to call a function which is located in a controller from a view?
This is what i have in my controller, as an example
function checkKey
Your controller should pass a set of data to your view.
Your view can then test if something is set and then act accordingly.
$this->data['my_setting']='value'; $this->load->vars($this->data); $this->load->view('your_view');
Then in your view:
if(isset($my_setting)){ do something with my_setting }