original_string: protected function get_submission($submissionid) {
          global $DB;
  
          $params = array('assignment'=>$this->get_instance()->id, 'id'=>$submissionid);
          return $DB->get_record('assign_submission', $params, '*', MUST_EXIST);
      }
code: protected function get_submission($submissionid) {
          global $DB;
  
          $params = array('assignment'=>$this->get_instance()->id, 'id'=>$submissionid);
          return $DB->get_record('assign_submission', $params, '*', MUST_EXIST);
      }
code_tokens: protected function get_submission ( $ submissionid ) { global $ DB ; $ params = array ( 'assignment' => $ this -> get_instance ( ) -> id , 'id' => $ submissionid ) ; return $ DB -> get_record ( 'assign_submission' , $ params , '*' , MUST_EXIST ) ; }
docstring: Load the submission object from it's id.
  
  @param int $submissionid The id of the submission we want
  @return stdClass The submission
docstring_tokens: Load the submission object from it s id .