Differences Between: [Versions 39 and 311]
Short answer
Copyright: | 2009 Sam Hemelryk |
License: | http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later |
File Size: | 497 lines (23 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
lesson_page_type_shortanswer:: (12 methods):
get_typeid()
get_typestring()
get_idstring()
display()
create_answers()
update()
check_answer()
option_description_string()
display_answers()
stats()
report_answers()
update_form_data()
lesson_add_page_form_shortanswer:: (1 method):
custom_definition()
lesson_display_answer_form_shortanswer:: (1 method):
definition()
Class: lesson_page_type_shortanswer - X-Ref
get_typeid() X-Ref |
No description |
get_typestring() X-Ref |
No description |
get_idstring() X-Ref |
No description |
display($renderer, $attempt) X-Ref |
No description |
create_answers($properties) X-Ref |
Creates answers for this page type. param: object $properties The answer properties. |
update($properties, $context = null, $maxbytes = null) X-Ref |
Update the answers for this page type. param: object $properties The answer properties. param: context $context The context for this module. param: int $maxbytes The maximum bytes for any uploades. |
check_answer() X-Ref |
No description |
option_description_string() X-Ref |
No description |
display_answers(html_table $table) X-Ref |
No description |
stats(array &$pagestats, $tries) X-Ref |
No description |
report_answers($answerpage, $answerdata, $useranswer, $pagestats, &$i, &$n) X-Ref |
No description |
update_form_data(stdClass $data) X-Ref |
Make updates to the form data if required. In this case to put the all other answer data into the write section of the form. param: stdClass $data The form data to update. return: stdClass The updated fom data. |
Class: lesson_add_page_form_shortanswer - X-Ref
custom_definition() X-Ref |
No description |
Class: lesson_display_answer_form_shortanswer - X-Ref
definition() X-Ref |
No description |