Manipulate final grade with PHP for conversion

Manipulate final grade with PHP for conversion

by Mario Cuba -
Number of replies: 1
Hello there everyone,

I'm trying to do a "sounds simple" task: Get the final grade of a student in the "User View" screen and convert it into a 20-point based grade.

I can do all the PHP coding that it requires, but I can't find where do I get that variable in the grade/report/user folder that gets printed in the final user table.

Anyone has tried to do that or something like that?
Is there some Moodle guru in here that knows his way around grades? Help would be greatly appreciated.
In reply to Mario Cuba

Re: Manipulate final grade with PHP for conversion

by Bob Puffer -
The function you're looking for is fill_tables. I think its in the grade/report/user/lib.php file.