How can I access a controller method from a helper ?

You’ll have to find another place to put the function, or make an Ajax call to that controller action when the page loads.

A suggestion: if it’s tied to the model you’re using, put the function in the model.