|  | 
|  | discard () | 
|  | 
|  | get_converted_qa () | 
|  | 
|  | supply_missing_qa () | 
|  | 
|  | to_text ($html) | 
|  | 
|  | 
| object | $qa | 
|  | this is the data for the upgraded questions attempt that we are building. 
 | 
|  | 
|  | 
|  | add_step ($step) | 
|  | 
|  | behaviour_name () | 
|  | 
|  | convert_steps () | 
|  | 
|  | create_missing_first_step () | 
|  | 
|  | discard_last_state () | 
|  | 
|  | finish_up () | 
|  | 
|  | graded_state_for_fraction ($fraction) | 
|  | 
|  | initialise_qa () | 
|  | 
|  | make_qtype_updater () | 
|  | 
|  | make_step ($state) | 
|  | 
|  | manual_graded_state_for_fraction ($fraction) | 
|  | 
|  | process0 ($step, $state) | 
|  | 
|  | process1 ($step, $state) | 
|  | 
|  | process2 ($step, $state) | 
|  | 
|  | process3 ($step, $state) | 
|  | 
|  | process4 ($step, $state) | 
|  | 
|  | process5 ($step, $state) | 
|  | 
|  | process6 ($step, $state) | 
|  | 
|  | process7 ($step, $state) | 
|  | 
|  | process8 ($step, $state) | 
|  | 
|  | process9 ($step, $state) | 
|  | 
|  | process_state ($state) | 
|  | 
|  | unexpected_event ($state) | 
|  | 
|  | 
| object | $attempt | 
|  | the quiz attempt data. 
 | 
|  | 
|  | $bestrawgrade = 0 | 
|  | 
|  | $finished = false | 
|  | 
| object | $finishstate | 
|  | pointer to the state that has already finished this attempt. 
 | 
|  | 
|  | $laststepwasatry = false | 
|  | 
| question_engine_assumption_logger | $logger | 
|  | 
| question_engine_attempt_upgrader | $qeupdater | 
|  | 
| object | $qsession | 
|  | the question session to be upgraded. 
 | 
|  | 
| array | $qstates | 
|  | the question states for the session to be upgraded. 
 | 
|  | 
| question_qtype_attempt_updater | $qtypeupdater | 
|  | 
| object | $question | 
|  | the question definition data. 
 | 
|  | 
| object | $quiz | 
|  | the quiz settings. 
 | 
|  | 
| int | $sequencenumber | 
|  | counts the question_steps as they are converted to question_attempt_steps. 
 | 
|  | 
|  | $try | 
|  | 
◆ behaviour_name()
  
  | 
        
          | qbehaviour_adaptivenopenalty_converter::behaviour_name | ( |  | ) |  |  | protected | 
 
 
◆ finish_up()
  
  | 
        
          | qbehaviour_adaptive_converter::finish_up | ( |  | ) |  |  | protectedinherited | 
 
 
◆ make_qtype_updater()
  
  | 
        
          | question_behaviour_attempt_updater::make_qtype_updater | ( |  | ) |  |  | protectedinherited | 
 
- Parameters
- 
  
    | object | $question | a question definition |  
 
- Return values
- 
  
  
 
 
◆ process0()
  
  | 
        
          | qbehaviour_adaptive_converter::process0 | ( |  | $step, |  
          |  |  |  | $state ) |  | protectedinherited | 
 
 
◆ process2()
  
  | 
        
          | qbehaviour_adaptive_converter::process2 | ( |  | $step, |  
          |  |  |  | $state ) |  | protectedinherited | 
 
 
◆ process3()
  
  | 
        
          | qbehaviour_adaptive_converter::process3 | ( |  | $step, |  
          |  |  |  | $state ) |  | protectedinherited | 
 
 
◆ process6()
  
  | 
        
          | qbehaviour_adaptive_converter::process6 | ( |  | $step, |  
          |  |  |  | $state ) |  | protectedinherited | 
 
 
◆ process7()
  
  | 
        
          | qbehaviour_adaptive_converter::process7 | ( |  | $step, |  
          |  |  |  | $state ) |  | protectedinherited | 
 
 
The documentation for this class was generated from the following file:
- question/engine/upgrade/behaviourconverters.php