I'm not using volt.
I just want to call my function from the views (.phtml). I can't give it straight to the view from controller as I'm looping through array of entities and in the loop getting related entity. So I know arguments only in the loop while fetching related entities.
offtop: I wish phalcon had more real-world examples. It's very hard to do smth beyond fetching cars or robots :(