Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
backup_mod_quiz_access_subplugin Class Reference

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

Inheritance diagram for backup_mod_quiz_access_subplugin:
backup_subplugin backup_quizaccess_seb_subplugin

Public Member Functions

 define_subplugin_structure ($connectionpoint)
 

Protected Member Functions

 define_attempt_subplugin_structure ()
 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.
 
 define_quiz_subplugin_structure ()
 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. More...
 
 get_recommended_name ()
 Simple helper function that suggests one name for the main nested element in subplugins It's not mandatory to use it but recommended ;-)
 
 get_setting_value ($name)
 Returns the value of one (task/plan) setting.
 
 get_subplugin_element ($final_elements=null, $conditionparam=null, $conditionvalue=null)
 Factory method that will return one backup_subplugin_element (backup_optigroup_element) with its name automatically calculated, based one the subplugin being handled (type, name)
 

Protected Attributes

 $connectionpoint
 
 $optigroup
 
 $step
 
 $subpluginname
 
 $subplugintype
 
 $task
 

Detailed Description

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

License
http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Member Function Documentation

◆ define_quiz_subplugin_structure()

backup_mod_quiz_access_subplugin::define_quiz_subplugin_structure ( )
protected

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.

Reimplemented in backup_quizaccess_seb_subplugin.


The documentation for this class was generated from the following file: