You are here

Functions in Quiz 6.5

Primary tabs

Namesort descending Location Description Direct uses Strings
add_indented_names includes/moodle/lib/questionlib.php Format categories into an indented list reflecting the tree structure. 1
clean_text includes/moodle_support.php 1
cleardoubleslashes includes/moodle_support.php Replace 1 or more slashes or backslashes to 1 slash 1
current_language includes/moodle_support.php 1
custom_mediaplugin_filter includes/moodle/question/format/qti2/custommediafilter.php @package questionbank @subpackage importexport 1
default_export_filename includes/moodle/lib/questionlib.php Create default export filename
delete_attempt includes/moodle/lib/questionlib.php Deletes all data associated to an attempt from the database
delete_question includes/moodle/lib/questionlib.php Deletes question and all associated data from the database 3
error includes/moodle_support.php 17 15
flatten_category_tree includes/moodle/lib/questionlib.php Private method, only for the use of add_indented_names(). 1
format_text includes/moodle_support.php 3
get_categories_for_contexts includes/moodle/lib/questionlib.php Get all the category objects, including a count of the number of questions in that category, for all the categories in the lists $contexts. 1
get_course_media_files includes/moodle/question/format/qti2/qt_common.php gets a list of all the media files for the given course
get_filesdir_from_context includes/moodle/lib/questionlib.php 1
get_file_dimensions includes/moodle/question/format/qti2/qt_common.php determines the x and y size of the given file
get_grade_options includes/moodle/lib/questionlib.php Returns list of 'allowed' grades for grade selection formatted suitably for dropdown box function 1
get_html_head_contributions includes/moodle/lib/questionlib.php Get the HTML that needs to be included in the head tag when the questions in $questionlist are printed in the gives states.
get_import_export_formats includes/moodle/lib/questionlib.php Get list of available import or export formats
get_media_tag includes/moodle/question/format/qti2/qt_common.php creates a media tag to use for choice media
get_question_actual_response includes/moodle/lib/questionlib.php
get_question_fraction_grade includes/moodle/lib/questionlib.php
get_question_image includes/moodle/lib/questionlib.php Returns a html link to the question image if there is one
get_question_options includes/moodle/lib/questionlib.php Updates the question objects with question type specific information by calling {@link get_question_options()}
get_question_responses includes/moodle/lib/questionlib.php
get_question_states includes/moodle/lib/questionlib.php Loads the most recent state of each question session from the database or create new one.
get_string includes/moodle_support.php Moodle localized string function from moodle/lib/moodlelib.php reimplemented hackedly for within the Drupal Quiz module e.g. get_string("wronggrade", "quiz", $nLineCounter).' '.get_string("fractionsnomax",… 33
get_string_from_file includes/moodle_support.php 1
hotpot_charcode_to_utf8 includes/moodle/question/format/hotpot/format.php
hotpot_convert_relative_url includes/moodle/question/format/hotpot/format.php
hotpot_convert_relative_urls includes/moodle/question/format/hotpot/format.php 1
hotpot_convert_url includes/moodle/question/format/hotpot/format.php 1
hotpot_utf8_to_html_entity includes/moodle/question/format/hotpot/format.php
is_image_by_extension includes/moodle/question/format/qti2/qt_common.php determines whether or not a file is an image, based on the file extension 1
is_media_by_extension includes/moodle/question/format/qti2/qt_common.php determines whether or not a file is a media file, based on the file extension 1
is_multimedia_by_extension includes/moodle/question/format/qti2/qt_common.php determines whether or not a file is a multimedia file, based on the file extension 1
is_sizable_multimedia includes/moodle/question/format/qti2/qt_common.php determines whether or not a file is a multimedia file of a type php can get the dimension for, based on the file extension 1
long_answer_admin_settings_form question_types/long_answer/long_answer.admin.inc Admin settings form.
long_answer_autoload_info question_types/long_answer/long_answer.module Implementation of hook_autoload_info().
long_answer_edit_score question_types/long_answer/long_answer.admin.inc Page handler for displaying a scoring form. This function is called directly from the menu router. It generates a form for scoring a quiz. 1
long_answer_get_all_unscored_answers question_types/long_answer/long_answer.module Get all quiz scores that have not yet been evaluated. 3
long_answer_get_answer question_types/long_answer/long_answer.module Set the answer for a question. 2
long_answer_get_unscored_answers_by_question question_types/long_answer/long_answer.module Given a quiz, return a list of all of the unscored answers. 1
long_answer_help question_types/long_answer/long_answer.module Implementation of hook_help().
long_answer_install question_types/long_answer/long_answer.install Implementation of hook_install().
long_answer_menu question_types/long_answer/long_answer.module Implementation of hook_menu().
long_answer_perm question_types/long_answer/long_answer.module Implementation of hook_perm().
long_answer_quiz_question_info question_types/long_answer/long_answer.module Implementation of hook_quiz_question_info(). 1
long_answer_schema question_types/long_answer/long_answer.install Implementation of hook_schema().
long_answer_score_an_answer question_types/long_answer/long_answer.module Set a score for a long answer question. 2
long_answer_score_form question_types/long_answer/long_answer.admin.inc Build a form for scoring long-answer questions. 1

Pages

Other projects