You are here

public function QuizDirectionsQuestion::delete in Quiz 6.3

Same name and namespace in other branches
  1. 6.6 question_types/quiz_directions/quiz_directions.classes.inc \QuizDirectionsQuestion::delete()
  2. 6.5 question_types/quiz_directions/quiz_directions.classes.inc \QuizDirectionsQuestion::delete()

Deletes a question from the database.

Parameters

$only_this_version: If the $only_this_version flag is TRUE, then only the particular nid/vid combo should be deleted. Otherwise, all questions with the current nid can be deleted.

Overrides QuizQuestion::delete

File

question_types/quiz_directions/quiz_directions.classes.inc, line 38
quiz_directions.classes

Class

QuizDirectionsQuestion
Implementation of QuizQuestion.

Code

public function delete($only_this_version = FALSE) {
}