Moodle APIs 3.9
Moodle 3.9.13+ (Build: 20220325)
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

Member Function Documentation

◆ load_dataset()

test_question_engine_upgrade_question_loader::load_dataset (   $questionid,
  $selecteditem 
)

◆ load_question()

test_question_engine_upgrade_question_loader::load_question (   $questionid,
  $quizid 
)

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