Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 3.9.x will end* 10 May 2021 (12 months).
  • Bug fixes for security issues in 3.9.x will end* 8 May 2023 (36 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Upgrade library code for the numerical question type.

Copyright: 2010 The Open University
License: http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
File Size: 125 lines (4 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

qtype_numerical_qe2_attempt_updater:: (6 methods):
  right_answer()
  response_summary()
  was_answered()
  set_first_step_data_elements()
  supply_missing_first_step_data()
  set_data_elements_for_step()


Class: qtype_numerical_qe2_attempt_updater  - X-Ref

Class for converting attempt data for numerical questions when upgrading
attempts to the new question engine.

This class is used by the code in question/engine/upgrade/upgradelib.php.

right_answer()   X-Ref
No description

response_summary($state)   X-Ref
No description

was_answered($state)   X-Ref
No description

set_first_step_data_elements($state, &$data)   X-Ref
No description

supply_missing_first_step_data(&$data)   X-Ref
No description

set_data_elements_for_step($state, &$data)   X-Ref
No description