Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
question_qtype_attempt_updater Class Reference

Base class for the classes that convert the question-type specific bits of the attempt data. More...

Inheritance diagram for question_qtype_attempt_updater:
qtype_calculated_qe2_attempt_updater qtype_calculatedmulti_qe2_attempt_updater qtype_description_qe2_attempt_updater qtype_essay_qe2_attempt_updater qtype_match_qe2_attempt_updater qtype_multianswer_qe2_attempt_updater qtype_multichoice_qe2_attempt_updater qtype_numerical_qe2_attempt_updater qtype_randomsamatch_qe2_attempt_updater qtype_shortanswer_qe2_attempt_updater qtype_truefalse_qe2_attempt_updater question_deleted_question_attempt_updater

Public Member Functions

 __construct ($updater, $question, $logger, $qeupdater)
 
 compare_answers ($answer1, $answer2)
 
 discard ()
 
 is_blank_answer ($state)
 
 question_summary ()
 
 response_summary ($state)
 
 right_answer ()
 
 set_data_elements_for_step ($state, &$data)
 
 set_first_step_data_elements ($state, &$data)
 
 supply_missing_first_step_data (&$data)
 
 was_answered ($state)
 

Protected Member Functions

 to_text ($html)
 

Protected Attributes

question_engine_assumption_logger $logger
 
question_engine_attempt_upgrader $qeupdater
 
object $question
 the question definition data.
 
question_behaviour_attempt_updater $updater
 

Detailed Description

Base class for the classes that convert the question-type specific bits of the attempt data.

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

The documentation for this class was generated from the following file: