Scripting Integrator 2016 PHP Edition
Scripting Integrator 2016 PHP Edition
Questions / Feedback?

Function Event

Fired when a custom function is called.

Object Oriented Interface

public function fireFunction($param);

Procedural Interface

inscript_powershell_register_callback($res, 2, array($this, 'fireFunction'));

Parameter List


'name'
'returnvalue'

Remarks

This event fires when a custom function is called. Custom functions must be added by calling AddFunction before calling Eval or EvalFile.

Name specifies the name of the function.

ReturnValue should be set to the calculated return value.

When this event fires query the Parameters collection to obtain the parameters and their values. After performing the necessary calculations to determine the result, set the ReturnValue parameter.

 
 
Copyright (c) 2019 /n software inc. - All rights reserved.
Scripting Integrator 2016 PHP Edition - Version 16.0 [Build 7240]