i would like to know if it is possible to call through a href a function with parametres. The function i want to be defined in the same file with a href.
You cannot directly call a function, all you could call is a PHP file. By appropriate use of a URL query string you could provide information to that file for it to determine what function it should call and with what parameters.
What you want to do could be done with Javascript ...
<a href="javascript:someFunction(x,y)">Perform someFunction()</a>
a link turned into a button.