How do I pass parameters from template to class-methods
I want to pass 2 Params from template to a method of my class.
The Method is working without parameters. If it requests parameters and I
send them from the template. I get an error: Too few arguments to function
So it seems that the parameter are not transfered…
ok it works.
poblem was, that my original function name is getFunctionWithParams($a,$b).
If I do not transfer params I can call it in template with FunctionWidthParams()(no get in front). But if I use
parameters the function hast to be called by the full name. ->getFunctionWidthParams($a,$b)