original_string: protected function convert_submission_for_gradebook(stdClass $submission) {
          $gradebookgrade = array();
  
          $gradebookgrade['userid'] = $submission->userid;
          $gradebookgrade['usermodified'] = $submission->userid;
          $gradebookgrade['datesubmitted'] = $submission->timemodified;
  
          return $gradebookgrade;
      }
code: protected function convert_submission_for_gradebook(stdClass $submission) {
          $gradebookgrade = array();
  
          $gradebookgrade['userid'] = $submission->userid;
          $gradebookgrade['usermodified'] = $submission->userid;
          $gradebookgrade['datesubmitted'] = $submission->timemodified;
  
          return $gradebookgrade;
      }
code_tokens: protected function convert_submission_for_gradebook ( stdClass $ submission ) { $ gradebookgrade = array ( ) ; $ gradebookgrade [ 'userid' ] = $ submission -> userid ; $ gradebookgrade [ 'usermodified' ] = $ submission -> userid ; $ gradebookgrade [ 'datesubmitted' ] = $ submission -> timemodified ; return $ gradebookgrade ; }
docstring: Convert submission details for the gradebook.
  
  @param stdClass $submission
  @return array
docstring_tokens: Convert submission details for the gradebook .