Moodle PHP Documentation 4.5
Moodle 4.5dev (Build: 20240606) (d3ae1391abe)
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()
 
base_logger $logger
 

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: