You are here

Functions in Quiz 6.5

Primary tabs

Namesort descending Location Description Direct uses Strings
theme_quiz_no_feedback ./quiz.pages.inc Theme the "no feedback" option.
theme_quiz_progress ./quiz.pages.inc Theme a progress indicator for use during a quiz.
theme_quiz_questions ./quiz.pages.inc Allow the option to theme the questions form.
theme_quiz_question_report question_types/quiz_question/quiz_question.theme.inc Implementation of theme_$type_report(). Theme the feedback report for a quiz. This report is generated (typically) at the end of the quiz.
theme_quiz_question_table ./quiz.pages.inc Theme a table containing array of questions and options.
theme_quiz_score_correct ./quiz.pages.inc Pass the correct mark to the theme so that theme authors can use an image.
theme_quiz_score_incorrect ./quiz.pages.inc Pass the incorrect mark to the theme so that theme authors can use an image.
theme_quiz_single_question_feedback ./quiz.pages.inc Theme feedback for one question.
theme_quiz_single_question_node ./quiz.pages.inc
theme_quiz_take_question Deprecated ./quiz.pages.inc Theme a question page.
theme_quiz_take_summary ./quiz.pages.inc Theme the summary page after the quiz has been completed.
theme_quiz_user_summary ./quiz.pages.inc Theme the summary page for user results.
theme_quiz_view ./quiz.pages.inc Theme the node view for quizzes.
theme_short_answer_feedback question_types/short_answer/short_answer.theme.inc Implementation of theme_$type_feedback(). This is basically useless for long answer questions.
theme_short_answer_report question_types/short_answer/short_answer.theme.inc Implementation of theme_$type_report(). Theme the feedback report for a quiz. This report is generated (typically) at the end of the quiz.
theme_short_answer_view_unscored question_types/short_answer/short_answer.admin.inc Theme the list of unscored short answer questions.
traverse_xmlize includes/moodle/lib/xmlize.php This helps you understand the structure of the array {@link xmlize()} outputs
unhtmlentities includes/moodle/question/format/webct/format.php @package questionbank @subpackage importexport
xmlize includes/moodle/lib/xmlize.php Create xml formatted output from an array. 5
xml_depth includes/moodle/lib/xmlize.php @internal You don't need to do anything with this function, it's called by xmlize. It's a recursive function, calling itself as it goes deeper into the xml levels. If you make any improvements, please let me know. @access private 1
zip_files includes/moodle_support.php Zip an array of files/dirs to a destination zip file Both parameters must be FULL paths to the files/dirs 1
_as_moodle_questions includes/questions_export/questions_export.admin.inc 1
_multichoice_find_correct question_types/multichoice/multichoice.module Find the correct answers in an array of answers. 1
_multichoice_get_response_answers question_types/multichoice/multichoice.module Get the user's answers for a given exam, given only the question node and the result_id. This is used to keep things checked appropriately. 1
_multichoice_is_personality_question question_types/multichoice/multichoice.module Find out if this question is a personality-style question. 1
_questions_in_quiz includes/questions_export/questions_export.admin.inc 2
_quiz_active_result_id ./quiz.module Returns the result ID for any current result set for the given quiz. 1
_quiz_availability ./quiz.module Determine quiz availability status. 1
_quiz_date ./quiz_datetime.inc Formats a GMT timestamp to local date values using time zone offset supplied. All timestamp values in event nodes are GMT and translated for display here. 1
_quiz_form_prepare_date ./quiz.module Takes a time element and prepares to send it to form_date(). 1
_quiz_get_answers ./quiz.module 3
_quiz_get_feedback_options ./quiz.module Get an array of feedback options. 2
_quiz_get_node_defaults ./quiz.module 2
_quiz_get_questions ./quiz.module Retrieve list of published questions assigned to quiz. 3
_quiz_get_question_types ./quiz.module Retrieve list of question types. 11
_quiz_get_quizzes ./quiz.module Get a full list of the quizzes. 1
_quiz_get_quiz_name ./quiz.module Get the quiz name variable and set it as a constant so we don't have to keep calling it in every function. 1
_quiz_get_random_questions ./quiz.module 1
_quiz_get_random_taxonomy_question_ids ./quiz.module Given a term ID, get all of the question nid/vids that have that ID. 2
_quiz_get_results ./quiz.module Get a full results list. 2
_quiz_get_summary_text ./quiz.module Get the summary message for a completed quiz. 3
_quiz_get_unused_questions ./quiz.module Retrieve list of published questions not assigned to quiz.
_quiz_get_vocabularies ./quiz.module Retrieve list of vocabularies for all quiz question types. 1
_quiz_help ./quiz.help.inc Handle help calls. 1
_quiz_insert_resultoptions ./quiz.module Insert call specific to result options. 1
_quiz_insert_result_option ./quiz.module Insert one result option. 2
_quiz_mktime ./quiz_datetime.inc Formats local time values to GMT timestamp using time zone offset supplied. All time values in the database are GMT and translated here prior to insertion. 1
_quiz_pick_result_option ./quiz.module Get summary text for a particular score from a set of result options. 1
_quiz_question_get_implementations question_types/quiz_question/quiz_question.module Get the information about various implementations of quiz questions. 5
_quiz_question_get_instance question_types/quiz_question/quiz_question.module Get an instance of a quiz question. Get information about the class and use it to construct a new object of the appropriate type. 2

Pages

Other projects