You are here

public function MatchingResponse::delete in Quiz 6.3

Same name and namespace in other branches
  1. 6.6 question_types/matching/matching.classes.inc \MatchingResponse::delete()
  2. 6.4 question_types/matching/matching.classes.inc \MatchingResponse::delete()
  3. 6.5 question_types/matching/matching.classes.inc \MatchingResponse::delete()
  4. 7.6 question_types/matching/matching.classes.inc \MatchingResponse::delete()
  5. 7 question_types/matching/matching.classes.inc \MatchingResponse::delete()
  6. 7.4 question_types/matching/matching.classes.inc \MatchingResponse::delete()
  7. 7.5 question_types/matching/matching.classes.inc \MatchingResponse::delete()

Delete the response.

Overrides QuizQuestionResponse::delete

File

question_types/matching/matching.classes.inc, line 236
quiz_directions.classes

Class

MatchingResponse
Class that describes a "Directions question response". For the most part, no real scoring takes place for a direction node. However, there are a few behind-the-scenes tricks that are done here to make the quiz-taking process a little easier.

Code

public function delete() {

  //$sql = 'DELETE FROM {quiz_matching_user_answers} WHERE question_nid = %d AND question_vid = %d AND result_id = %d';

  //db_query($sql, $this->question->nid, $this->question->vid, $this->rid);
}