The report builder from Totara is located in a totara directory. This doesn't fit with Moodles directory structure so changes need to be made.
- Use automatic class loading.
- Fix existing classes
- Work out what is commented out and why (git diff ~/git/totara/mod/scorm/rb_sources/rb_source_scorm.php mod/scorm/rb_sources/rb_source_scorm.php)
- Fix warnings
- Remove irrelevant totara data from:
- main plugin
- child classes
- Totara_report_manager block needs to be included (or some other way for students and teachers needs to be found to access the reports).
- Move language strings to plugin files
- Fix navigation tree for viewing reports.