protected function convert_submission_for_gradebook(stdClass $submission) {
        $gradebookgrade = array();

        $gradebookgrade['userid'] = $submission->userid;
        $gradebookgrade['usermodified'] = $submission->userid;
        $gradebookgrade['datesubmitted'] = $submission->timemodified;

        return $gradebookgrade;
    }
protected function convert_submission_for_gradebook(stdClass $submission) {
        $gradebookgrade = array();

        $gradebookgrade['userid'] = $submission->userid;
        $gradebookgrade['usermodified'] = $submission->userid;
        $gradebookgrade['datesubmitted'] = $submission->timemodified;

        return $gradebookgrade;
    }
protected function convert_submission_for_gradebook ( stdClass $ submission ) { $ gradebookgrade = array ( ) ; $ gradebookgrade [ 'userid' ] = $ submission -> userid ; $ gradebookgrade [ 'usermodified' ] = $ submission -> userid ; $ gradebookgrade [ 'datesubmitted' ] = $ submission -> timemodified ; return $ gradebookgrade ; }
Convert submission details for the gradebook.

@param stdClass $submission
@return array
Convert submission details for the gradebook .