original_string: public function exportSurveyReturnCode($recordId, $form, $event = null, $repeatInstance = null)
      {
          $data = array(
                  'token' => $this->apiToken,
                  'content' => 'surveyReturnCode',
                  'returnFormat' => 'json'
          );
          
          #----------------------------------------------
          # Process arguments
          #----------------------------------------------
          $data['record']          = $this->processRecordIdArgument($recordId, $required = true);
          $data['instrument']      = $this->ProcessFormArgument($form, $required = true);
          $data['event']           = $this->ProcessEventArgument($event);
          $data['repeat_instance'] = $this->ProcessRepeatInstanceArgument($repeatInstance);
          
          $surveyReturnCode = $this->connection->callWithArray($data);
          $surveyReturnCode = $this->processExportResult($surveyReturnCode, 'string');
          
          return $surveyReturnCode;
      }
code: public function exportSurveyReturnCode($recordId, $form, $event = null, $repeatInstance = null)
      {
          $data = array(
                  'token' => $this->apiToken,
                  'content' => 'surveyReturnCode',
                  'returnFormat' => 'json'
          );
          
          #----------------------------------------------
          # Process arguments
          #----------------------------------------------
          $data['record']          = $this->processRecordIdArgument($recordId, $required = true);
          $data['instrument']      = $this->ProcessFormArgument($form, $required = true);
          $data['event']           = $this->ProcessEventArgument($event);
          $data['repeat_instance'] = $this->ProcessRepeatInstanceArgument($repeatInstance);
          
          $surveyReturnCode = $this->connection->callWithArray($data);
          $surveyReturnCode = $this->processExportResult($surveyReturnCode, 'string');
          
          return $surveyReturnCode;
      }
code_tokens: public function exportSurveyReturnCode ( $ recordId , $ form , $ event = null , $ repeatInstance = null ) { $ data = array ( 'token' => $ this -> apiToken , 'content' => 'surveyReturnCode' , 'returnFormat' => 'json' ) ; #---------------------------------------------- # Process arguments #---------------------------------------------- $ data [ 'record' ] = $ this -> processRecordIdArgument ( $ recordId , $ required = true ) ; $ data [ 'instrument' ] = $ this -> ProcessFormArgument ( $ form , $ required = true ) ; $ data [ 'event' ] = $ this -> ProcessEventArgument ( $ event ) ; $ data [ 'repeat_instance' ] = $ this -> ProcessRepeatInstanceArgument ( $ repeatInstance ) ; $ surveyReturnCode = $ this -> connection -> callWithArray ( $ data ) ; $ surveyReturnCode = $ this -> processExportResult ( $ surveyReturnCode , 'string' ) ; return $ surveyReturnCode ; }
docstring: Exports the code for returning to a survey that was not completed.
  
  @param string $recordId the record ID for the survey to return to.
  @param string $form the form name of the survey to return to.
  @param string $event the unique event name (for longitudinal studies) for the survey
  to return to.
  @param integer $repeatInstance the repeat instance (if any) for the survey to return to.
  @return string survey return code.
docstring_tokens: Exports the code for returning to a survey that was not completed .