Public API functions. in Quiz 6.4
Same name and namespace in other branches
- 8.6 quiz.module \quiz_public
- 8.5 quiz.module \quiz_public
- 7.6 quiz.module \quiz_public
- 7 quiz.module \quiz_public
- 7.4 quiz.module \quiz_public
- 7.5 quiz.module \quiz_public
File
- ./
quiz.module, line 1442 - Quiz Module
Functions
Name | Location | Description |
---|---|---|
quiz_availability |
./ |
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_create_rid |
./ |
Creates a unique id to be used when storing results for a quiz taker. |
quiz_email_results_format |
./ |
This functions returns the default email subject and body format which will be used at the end of quiz. |
quiz_end_actions |
./ |
Actions to take at the end of a quiz |
quiz_end_scoring |
./ |
Score a completed quiz. |
quiz_get_all_titles |
./ |
Returns the titles for all quizzes the user has access to. |
quiz_get_all_version_titles |
./ |
Returns the titles for all quizzes the user has access to. |
quiz_get_number_of_questions |
./ |
Finds out the number of questions for the quiz. |
quiz_get_pass_rate |
./ |
Finds out the pass rate for the quiz. |
quiz_get_score_data |
./ |
Return highest score data for given quizzes. |
quiz_is_passed |
./ |
Check a user/quiz combo to see if the user passed the given quiz. |
quiz_jump_to |
./ |
Set the current session to jump to a specific question number |
quiz_mail |
./ |
Implementation of hook_mail(). |
quiz_node_map |
./ |
Map node properties to a question object. |
quiz_question_module_for_type |
./ |
|
quiz_quiz_finished |
./ |
Implementation hook_quiz_finished(). |
quiz_quiz_scored |
./ |
Implementation hook_quiz_scored(). |
quiz_set_questions |
./ |
Sets the questions that are assigned to a quiz. |
quiz_start_check |
./ |
Actions to take place at the start of a quiz. |
quiz_store_question_result |
./ |
Store a quiz question result. |
quiz_take_question_view |
./ |
Create the view for a question the user is about to take. |
quiz_take_quiz |
./ |
Handles quiz taking. |
quiz_type_access_load |
./ |
Load a quiz node, cache it and validate that it is indeed of type quiz. |
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 |