Hello,
I wonder, where I can find some documentation about how grades are collected in moodle 1.8?
I already realized that there is a new gradebook implementation in moodle 1.9, which is based on activity grade pushing mechanism. But I cannot change to moodle 1.9 now and need some information about the old behavior.
I found already out that I need a <modname>_grades method in my activities lib.php file. But what is given as parameter? What do I have to put into that object(?).
It would be great if someone could explain that to me or give me a link to the proper documentation or a hint where I can look inside the source code for examples.
Thanks!
Adam
OK, forget my newbie question.
I just found that method in activites template lib.php file with some comment about grades:
function modulname_grades($modulenametaskid) {
return NULL;
}
I hope that is enough to get the grades handled.
I just found that method in activites template lib.php file with some comment about grades:
function modulname_grades($modulenametaskid) {
return NULL;
}
I hope that is enough to get the grades handled.