Welcome Guest, Not a member yet? Register   Sign In
function in multiple controller

hi to all

I have a template that hold my different views. Let say I have 10 views and 10 controllers. I have a specific function need to call in 10 views. Do I have to declare this function in all the controllers? Is there any other way to declare it once.

Thanks in advance.

Put it in a helper.

Theme © iAndrew 2016 - Forum software by © MyBB