How do I pass a parameter to a php method?
A php method is just a php method. Calling goes like any php function (and parameters). Can you be a bit more specific describing your problem? I’m affraid that I’m missing a point here,.
I see no way to define the input parameters for a PHP Method in ScriptCase. When I define the Method I am asked for a name, but see no were I can define the input to the function.
In the editor the first icon above your code …
Thank you. I should have seen that.
I was just about to say that the icons at the top of my editor are…
“Fullscreen”, “Search”, “Replace” and “Help”
…when I went into another php method and noticed the “Attribute” icon . So I went into the first method again and surprise, surprise the “Attribute” icon was there.
Now it’s gone again, no wait, it’s back!!!
Any idea why the “Attribute” icon fails to show at times? I’m on sc v7.1.
At least can anyone say that it happens to them also?