Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.0.x will end 8 May 2023 (12 months).
  • Bug fixes for security issues in 4.0.x will end 13 November 2023 (18 months).
  • PHP version: minimum PHP 7.3.0 Note: the minimum PHP version has increased since Moodle 3.10. PHP 7.4.x is also supported.

Defines the base class for quiz access plugins backup code.

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

Defines 1 class

backup_mod_quiz_access_subplugin:: (2 methods):
  define_quiz_subplugin_structure()
  define_attempt_subplugin_structure()


Class: backup_mod_quiz_access_subplugin  - X-Ref

Base class for backing up all the quiz settings and attempt data for an
access rule quiz sub-plugin.

define_quiz_subplugin_structure()   X-Ref
Use this method to describe the XML structure required to store your
sub-plugin's settings for a particular quiz, and how that data is stored
in the database.


define_attempt_subplugin_structure()   X-Ref
Use this method to describe the XML structure required to store your
sub-plugin's settings for a particular quiz attempt, and how that data
is stored in the database.