function quiz_result_load in Quiz 7.6
Same name and namespace in other branches
- 7.5 quiz.module \quiz_result_load()
Shortcut to entity_load_single().
19 calls to quiz_result_load()
- QuizQuestionResponse::canReview in question_types/
quiz_question/ quiz_question.core.inc - Can the quiz taker view the requested review?
- QuizResultController::findOldResult in includes/
QuizResultController.class.inc - Find a result that is not the same as the passed result.
- QuizResultController::save in includes/
QuizResultController.class.inc - Save the Quiz result and do any post-processing to the result.
- quiz_access_my_result in ./
quiz.module - Helper function to determine if a user has access to view a specific quiz result.
- quiz_access_question in ./
quiz.module - Menu check to see if user has access to take this question.
File
- ./
quiz.module, line 3684 - quiz.module Main file for the Quiz module.
Code
function quiz_result_load($result_id) {
return entity_load_single('quiz_result', $result_id);
}