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.

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: 1 time
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.