In which variable does moodle store the Course Total Grade?? Where can I find the corresponding php file?
I am trying to calculate the Course Total according to a table like this :
if quiz result is 1 then Course Total is 60
elseif quiz result is 2 then Course Total is 60
elseit quiz result is 3 then Course Total is 70 ..... and so on, something like this
there is no line equation to represent the results, so I have to create a conditional results table
Therefore I am trying to find the file where moodle calculates and stores the Course Total Grade
Can anybody help ???
Thank you