Hello everyone
I'm using the certificate module moodle and trying to customize it. I have read the doc pages (sorry I can't link it here or the system flags me as a spammer). I need to print specific information on the certificate, such as:
- Full user name
- Full course name
- Course starting date
- Course ending date
- Certificate generation date
- Final score for the course
- Final total hours count
- Per-module name
- Per-module starting date
- Per-module ending date
- Per-module score
- Per-module hours count
- Per-module teacher name
From peeking at the certificate code, I know I can user fullname($USER)
for the user name and $course->fullname
for the course, and $certificate->printhours
will provide the total hours count for the entire course. I can use date()
for the certificate generation date. Where can I retrieve the other info?
Thanks in advance!