Search moodle.org's
Developer Documentation

See Release Notes
Long Term Support Release

  • Bug fixes for general core bugs in 4.1.x will end 13 November 2023 (12 months).
  • Bug fixes for security issues in 4.1.x will end 10 November 2025 (36 months).
  • PHP version: minimum PHP 7.4.0 Note: minimum PHP version has increased since Moodle 4.0. PHP 8.0.x is supported too.

Code that deals with logging stuff during the question engine upgrade.

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

Defines 2 classes

question_engine_assumption_logger:: (4 methods):
  __construct()
  set_current_attempt_id()
  log_assumption()
  __destruct()

dummy_question_engine_assumption_logger:: (3 methods):
  __construct()
  log_assumption()
  __destruct()


Class: question_engine_assumption_logger  - X-Ref

This class serves to record all the assumptions that the code had to make
during the question engine database database upgrade, to facilitate reviewing
them.

__construct()   X-Ref
No description

set_current_attempt_id($id)   X-Ref
No description

log_assumption($description, $quizattemptid = null)   X-Ref
No description

__destruct()   X-Ref
No description

Class: dummy_question_engine_assumption_logger  - X-Ref

Subclass of question_engine_assumption_logger that does nothing, for testing.

__construct()   X-Ref
No description

log_assumption($description, $quizattemptid = null)   X-Ref
No description

__destruct()   X-Ref
No description