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
you can declare a function this way inside views:
$myfunction = function_that_do_something( ) { } // then call as you want $myfunction( );
the only thing is that you cannot acces the variables from the function -> simply pass them to the function