gustav_delius
4eda4eecbd
Added question type that is used if a question of unknown type is encountered.
...
Also removed some of the unnecessary calls to name()
2006-03-24 21:21:59 +00:00
gustav_delius
ca252edb1d
Setting title attribute on questiontype icons so that tooltips show the question type name
2006-03-24 20:02:42 +00:00
gustav_delius
aaae75b04f
Renaming question/questiontypes/ to question/types/ as requested by Martin
2006-03-24 19:54:13 +00:00
gustav_delius
643ec47d32
Renaming question/questiontypes/ to question/types/ as requested by Martin
2006-03-24 19:31:46 +00:00
gustav_delius
0429cd86c3
Deleting attempts properly now
2006-03-22 18:27:28 +00:00
gustav_delius
4dca7e51ca
Some minor improvements in the handling of review options, the setting of timestamp, and improvements to the documentation
2006-03-22 17:22:36 +00:00
thepurpleblob
8511669cb9
Added function for matching/checking question grades on quiz import.
2006-03-22 16:27:46 +00:00
thepurpleblob
e9de436630
Split out grade option list generation, so it can be used in import/export too.
2006-03-22 14:43:55 +00:00
gustav_delius
6040798269
Abolished the qtype integers. The question types are now indexed by their name as specified by their directory name. This will avoid a lot of confusion in future when we have plugable question types.
2006-03-21 23:08:36 +00:00
gustav_delius
cf60a28a0b
Fixed small problem in delete_question()
2006-03-21 15:33:30 +00:00
gustav_delius
f67172b64b
Moved code to delete questions and question categories to lib/questionlib.php
...
Also fixed bug 4949
2006-03-21 09:06:34 +00:00
gustav_delius
90c3f31066
Some improvements to delete_question()
2006-03-20 23:04:22 +00:00
gustav_delius
6b11a0e863
Renaming constants QUIZ_ADAPTIVE and QUIZ_IGNORE_DUPRESP to QUESTION_..... and moved them to lib/questionlib.php because they are used for question-level options.
2006-03-20 20:45:55 +00:00
gustav_delius
f30bbcaf5b
Improved handling of event types so that now graded states can always be distinguished from ungraded ones.
2006-03-19 18:28:29 +00:00
gustav_delius
ccccf04f70
Multianswer restore now works.
...
Timelimit is rounded to integer before saving in the database
Some more diagnostic error messages
Towards more plugable question types: $QUIZ_MENU is now populated by the question types themselves.
2006-03-18 14:14:55 +00:00
thepurpleblob
2dd6d66b31
Rewrite of add_indented_names() function.
...
Bit longer, but *much* faster for large numbers of categories.
2006-03-02 14:13:42 +00:00
gustav_delius
70c01adb91
Improvement to tabbed interface
2006-03-01 09:30:21 +00:00
gustav_delius
f5565b6969
Removing some more references to quiz from import/export code
2006-03-01 07:36:09 +00:00
gustav_delius
dc1f00de19
Some little fixes and more renaming to cleanly separate question code from quiz code
...
Renaming tables:
quiz_answers -> question_answers
quiz_categories -> question_categories
Renaming functions:
quiz_get_category_menu -> question_category_menu
quiz_get_category_coursename -> question_category_coursename
quiz_categorylist -> question_categorylist
2006-03-01 07:03:57 +00:00
gustav_delius
4f48fb42af
Towards removing reference to quiz module from the question code
...
Renaming tables:
quiz_questions -> question
quiz_states -> question_states
Renaming functions:
quiz_delete_question -> delete_question
quiz_get_question_options -> get_question_options
quiz_get_states -> get_question_states
quiz_restore_state -> restore_question_state
quiz_save_question_session -> save_question_session
quiz_state_is_graded -> question_state_is_graded
quiz_extract_responses -> question_extract_responses
quiz_regrade_question_in_attempt -> regrade_question_in_attempt
quiz_process_responses -> question_process_responses
quiz_isgradingevent -> question_isgradingevent($event)
quiz_search_for_duplicate_responses -> question_search_for_duplicate_responses
quiz_apply_penalty_and_timelimit -> question_apply_penalty_and_timelimit
quiz_print_question_icon -> print_question_icon
quiz_get_image -> get_question_image
quiz_make_name_prefix -> question_make_name_prefix
quiz_get_id_from_name_prefix -> question_get_id_from_name_prefix
quiz_new_attempt_uniqueid -> question_new_attempt_uniqueid
quiz_get_renderoptions -> question_get_renderoptions
quiz_print_quiz_question -> print_question
quiz_get_question_responses -> get_question_responses
quiz_get_question_actual_response -> get_question_actual_response
quiz_get_question_fraction_grade -> get_question_fraction_grade
quiz_get_default_category -> get_default_question_category
Renaming constants:
QUIZ_EVENT.... -> QUESTION_EVENT....
QUIZ_MAX_NUMBER_ANSWERS -> QUESTION_NUMANS
2006-02-28 09:26:00 +00:00
thepurpleblob
feb60a0755
Added function (from locallib.php) to create default quiz filename
2006-02-24 18:49:50 +00:00
thepurpleblob
ff4b6492a0
Moved import/export functions.
2006-02-24 15:44:53 +00:00
gustav_delius
f02c6f017e
Renamed QUIZ_QTYPES to QTYPES
2006-02-24 13:48:43 +00:00
gustav_delius
4b32fd66ab
Moved function quiz_question_used from mod/quiz/locallib.php to question_used in lib/questionlib. Fixed some more links.
2006-02-24 12:53:47 +00:00
gustav_delius
e56a08dc15
Updated questionlib to work with the new location of the question scripts
2006-02-24 10:25:16 +00:00
gustav_delius
516cf3eb59
Moving quiz-independent question scripts to their new location. In a following commit these files will be updated to actually work in their new location.
2006-02-24 10:21:40 +00:00