I am trying to add a function in controller, kind of global function that is available to all controllers as well as models. Similar to addFunction() of volt compiler, is there a way we can add a function (may be thru dispatcher), so that the function is available to all the controllers, similar to controllers initialize() function. I have created a constants.php file, where i can create such function, but i was trying to find some other way to do it. What i am trying to do is, add a function say someTask(), and in all the controllers, i should be able to access it simply by calling someTask(). I hope this is clear. Can something like this be achieved..?