public function QuizQuestion::isGraded in Quiz 7.6
Same name and namespace in other branches
- 7.5 question_types/quiz_question/quiz_question.core.inc \QuizQuestion::isGraded()
Is this question graded?
Questions like Quiz Directions, Quiz Page, and Scale are not.
By default, questions are expected to be gradeable
Return value
bool
2 methods override QuizQuestion::isGraded()
- QuizDirectionsQuestion::isGraded in question_types/
quiz_directions/ quiz_directions.classes.inc - Is this question graded?
- QuizPagesQuestion::isGraded in question_types/
quiz_page/ quiz_page.classes.inc - Is this question graded?
File
- question_types/
quiz_question/ quiz_question.core.inc, line 442 - 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 isGraded() {
return TRUE;
}