LimeSurvey/LimeSurvey — pull request #71 by ravindrakhokharia (2013-01-25 13:47:52+00:00)
Title: Added two routines on Remote Control

We have developed some new functionality for Limesurvey2 – RemoteControl2

In essence we needed two functions that could assist us in

1. Obtaining the results for a specific TokenID

This was needed in order for our platform to easily get the status of a particular person.

export_response function, will return the response of particular participant, depending upon the token passed. For this, we have created function to fetch export_response() added $token parameter as parameter.

2. To be able to forcefully reset a questionnaire (even when completed already) – allowing an administrator in our system to reset a participant.

This function is created to reset the performed survey, whether it is completed or not, using the tokenId of particular participant. The function is added to the remotecontrol.php file with name resetParticipantSurvey()

/limesurvey/application/controllers/admin/remotecontrol.php

- Two functions added, export_response() and resetParticipantSurvey()

/limesurvey/application/helpers/admin/exportresults_helper.php

- exportTokenSurvey() & loadTokenSurveyResult() added function

Please lt me know if we may submit this code for review / acceptance.