I am currently on moodle version 3.2.3+
I am working on the quiz module. I am not able to understand some of the methods in the mod/quiz/lib.php file. The methods are:
2. quiz_after_add_or_update($quiz)The first method is not called anywhere so what is the need for it?
And in the second method, there's a feedback object getting generated. I am trying to use the method in my code but everytime I get 'mingrade value cannot be null'. I am not understanding the contents of the feedback object, mainly feedbacktext[$i][text], feedbackboundaries[$i] and feedbackboundarycount.
I am stuck as my quiz is not getting created so a quick help is what is needed