API DOCS
Function: setFunction
function setFunction($sFunction, $sArgs, $sScript)
Parameters:
sFunction
(string) The name of the function to construct.
sArgs
(string) Comma separated list of parameter names.
sScript
(string) The javascript code that will become the body of the function.
Returns:
object
The object.
