The setReturnValue function allows passing values from PHP dialog functions to the JobRouter form. The parameters are first a key and then the corresponding value. You can define any number of return values.
Parameter |
Type |
Description |
|---|---|---|
$key |
string |
Key of the parameter |
$returnValue |
string |
Value of the parameter |
The function does not return a value.
Example:
…
$this->setReturnValue('firstname', 'John');
$this->setReturnValue('lastname', 'Doe');
…