Hi,
I have added some additional functions into quiz activity in moodle. One of the newly added quiz parameters is stored in an int column in the mod_quiz database. I must read this certain parameter directly from the PHP class in the attemptlib.php file. I have found out, that there is a command called get_config('quiz', 'columnname') which probably could be helpful to get this value. However using this command I'm able to get the default global value which is defined for the entire quiz plugin instance, instead of the value of the column of this certain quiz instance. I'm doing something wrong, or maybe I'm using wrong function to get the value of this certain column from the quiz instance?
$branchinggrade = get_config('quiz', 'branchinglevel');
echo "Branching level:"; echo $branchinggrade; echo ("</br>");