There are three ways: - function takes arguments - function name is prefixed by __ - there is a space between the function name and (). (*)
I do not like (*) very much and I cannot really promise will stay in the future since it is not documented. Massimo On Sunday, 9 December 2012 14:51:52 UTC-6, David Tucker wrote: > > Is there a way to add a private function that isn't exposed/accessible via > URL to a controller? > I imagine there is a way to do this with routes, and I know it can be done > with modules; however, I have only a single, short method that is repeated > in multiple actions in the same controller and do not see it being enough > of a reason to give it its own module. In other words, it's repeated code > in each action, but the code is short. > > --

