// Clayton Rumley, digifi inc., email@example.com
class MyScriptService extends DigifiScriptService
//This is a public function which will be turned into a ScriptMethod
public function HelloWorld()
return "Hello World";
//A ScriptMethod with arguments:
public function Add($x, $y)
return $x + $y;
private function DoSomethingPrivate()
return "Not Exposed";
//This is the only line of initialization required:
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.