You are here

public function QuizQuestion::isQuestion in Quiz 7.5

Is this "question" an actual question?

For example, a Quiz Page is not a question, neither is a "quiz directions".

Returning FALSE here means that the question will not be numbered, and possibly other things.

Return value

bool

2 methods override QuizQuestion::isQuestion()
QuizDirectionsQuestion::isQuestion in question_types/quiz_directions/quiz_directions.classes.inc
Implementation of isQuestion().
QuizPagesQuestion::isQuestion in question_types/quiz_page/quiz_page.classes.inc
Implementation of isQuestion().

File

question_types/quiz_question/quiz_question.core.inc, line 493
Classes used in the Quiz Question module.

Class

QuizQuestion
A base implementation of a quiz_question.

Code

public function isQuestion() {
  return TRUE;
}