skodak
7eb0b60a1f
debugging and error reporting level fixes and improvements MDL-6671
2006-09-23 09:38:39 +00:00
toyomoyo
4f83ae95ca
adding capabilities
2006-08-31 08:51: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
gustav_delius
f02c6f017e
Renamed QUIZ_QTYPES to QTYPES
2006-02-24 13:48:43 +00:00
moodler
f1e0649c1c
Removed files/mimetype.php and put it into lib/filelib.php instead
...
where it always should have been.
2005-03-07 11:32:03 +00:00
defacer
9407d4563f
According to the final comments in SC#65:
...
Made isteacher() require that the first parameter (course id) be
specified and non-empty. If it is empty, [i.e., 0, which was used to
simulate what has now become isteacherinanycourse()], then the return
value IS correct but a warning is printed on screen. This should allow
us to track down any such calls in legacy modules without breaking Moodle.
The correct way to check for teacher status in ANY course is now to
call isteacherinanycourse().
2005-01-23 21:38:01 +00:00
gustav_delius
76cacec819
split quiz lib.php into a locallib.php for functions that are only used from within the quiz module and a much smaller lib.php for functions that are used from elsewhere in Moodle.
2005-01-08 20:06:00 +00:00
skodak
e7f927a0fc
new handling of uploaded files, please TEST, TEST, TEST
2004-12-14 18:57:51 +00:00
moodler
8579e15617
Merged fix SC22 from STABLE, even though this file will be rewritten
...
with Petr's new file handling soon! :-)
2004-12-12 07:09:51 +00:00
moodler
81d849fd41
Merged fix from stable
2004-10-01 02:16:05 +00:00
gustav_delius
d1290cec39
fixed capitalization and quoting of attribute values
2004-09-12 17:34:35 +00:00
kaipe
79a44f05a9
Took care of some issues concerning the use of
...
individual quiz files in datasetdependent questions
2004-08-04 23:35:18 +00:00
moodler
c1f86c2afa
Removing some security checks that seem to cause trouble
2004-05-03 02:12:45 +00:00
moodler
3fb839a1e4
A small fix for showing pictures in randomly-selected questions
2003-12-17 13:35:49 +00:00
kaipe
fe98ea90f9
The new quizfile.php makes it possible to view associated file material on quizes, such as images, even for questions belonging to a category on a different course. lib.php is updated accordingly...
2003-11-02 21:36:25 +00:00