Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Variables | |
$quizsettings = new admin_settingpage('modsettingquiz', $pagetitle, 'moodle/site:config') | |
$reports = core_component::get_plugin_list_with_file('quiz', 'settings.php', false) | |
$reportsbyname = [] | |
$rules = core_component::get_plugin_list_with_file('quizaccess', 'settings.php', false) | |
$rulesbyname = [] | |
foreach( $reportsbyname as $strreportname=> $report) foreach($rulesbyname as $strrulename=> $rule) | $settings = null |
if(empty($reportsbyname) &&empty($rulesbyname)) | else |