Using the currently existing Markbook functions to obtain a Term Average

Currently, there is a function in MarkbookView.php called $getTermAverage. It takes a studentID and a schoolYearTermID. The issue I’m having is finding anywhere in the database that links gibbonSchoolYearTerm with any columns at all in the markbook. I can’t JOIN on any markbook data and match up a termID anywhere.

Any thoughts?

Found it. MarkbookView has a function called getCurrentTerms that returns all terms the related class is assigned to. I can use this to pull grades from the markbook using getTermAverage

Great to hear you’re making progress!