Event interface triggered before a survey is answered by the user.

You can return answers that must be set in an array and they will be uploaded to the source.

package Gems
subpackage Event
copyright Copyright (c) 2011 Erasmus MC
license New BSD License
since Class available since version 1.4
inherited_from \Gems_Event_EventInterface

 Methods

Process the data and return the answers that should be filled in beforehand.

processTokenInsertion(\Gems_Tracker_Token $token) : array

Storing the changed values is handled by the calling function.

Parameters

$token

\Gems_Tracker_Token

Gems token object

Returns

arrayContaining the changed values