Moodle APIs  3.8
Moodle 3.8.6 (Build: 20201109)
Public Member Functions | Protected Attributes | List of all members
test_question_engine_upgrade_question_loader Class Reference

Subclass of question_engine_upgrade_question_loader for unit testing. More...

Inheritance diagram for test_question_engine_upgrade_question_loader:
question_engine_upgrade_question_loader

Public Member Functions

 get_question ($questionid, $quizid)
 
 load_dataset ($questionid, $selecteditem)
 
 load_question ($questionid, $quizid)
 
 put_dataset_in_cache ($questionid, $selecteditem, $dataset)
 
 put_question_in_cache ($question)
 

Protected Attributes

 $cache = array()
 
 $datasetcache = array()
 

Detailed Description

Subclass of question_engine_upgrade_question_loader for unit testing.

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

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