Public API functions. in Quiz 7.5
Same name and namespace in other branches
- 8.6 quiz.module \quiz_public
- 8.5 quiz.module \quiz_public
- 6.4 quiz.module \quiz_public
- 7.6 quiz.module \quiz_public
- 7 quiz.module \quiz_public
- 7.4 quiz.module \quiz_public
File
- ./
quiz.module, line 1700 - quiz.module Main file for the Quiz module.
Functions
Name | Location | Description |
---|---|---|
quiz_access |
./ |
Find out if a quiz is available for taking or not. |
quiz_build_question_list |
./ |
Retrieves a list of questions (to be taken) for a given quiz. |
quiz_calculate_score |
./ |
Calculates the score user received on quiz. |
quiz_end_scoring |
./ |
Score a completed quiz. |
quiz_get_number_of_questions |
./ |
Finds out the number of questions for the quiz. |
quiz_is_passed |
./ |
Check a user/quiz combo to see if the user passed the given quiz. |
quiz_question_module_for_type |
./ |
|
quiz_quiz_access |
./ |
Can a user take this quiz? |
quiz_set_questions |
./ |
Sets the questions that are assigned to a quiz. |
quiz_store_question_result |
./ |
Store a quiz question result. |
quiz_take_question |
./ |
Take a quiz questions. |
quiz_take_quiz |
./ |
Find a resumable result for this quiz and the current user. |
quiz_type_confirm |
./ |
Validate that a node is of type quiz, and that the user has access to it. |
quiz_update_max_score_properties |
./ |
Updates the max_score property on the specified quizzes. |
quiz_update_quiz_question_relationship |
./ |
Copies quiz-question relation entries in the quiz_node_relationship table from an old version of a quiz to a new. |
quiz_update_total_score |
./ |
Update a score for a quiz. |
_quiz_build_categorized_question_list |
./ |
Builds the questionlist for quizzes with categorized random questions. |
_quiz_get_terms |
./ |
Get data for all terms belonging to a Quiz with categorized random questions. |