You are here

public function QuizQuestion::__construct in OG Quiz 7

QuizQuestion constructor stores the node object.

Parameters

$node: The node object

File

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

Class

QuizQuestion
A base implementation of a quiz_question, adding a layer of abstraction between the node API, quiz API and the question types.

Code

public function __construct(stdClass &$node) {
  $this->node = $node;
}