You are here

public function QuizQuestionResponse::refreshQuestionNode in OG Quiz 7

Used to refresh this instances question node in case drupal has changed it.

Parameters

$newNode: Question node

File

includes/og_quiz_question.php, line 787
Classes used in the Quiz Question module.

Class

QuizQuestionResponse
Each question type must store its own response data and be able to calculate a score for that data.

Code

public function refreshQuestionNode($newNode) {
  $this->question = $newNode;
}