I cannot seem to get the getCumulativeAverage function in MarkbookView.php to return anything. I create a new markbookview, and pass it a valid gibbonPersonID like so:
$gibbonCourseClassID = $markbookEntry[‘gibbonCourseClassID’]
$markbookTest = new MarkbookView($gibbon, $pdo, $gibbonCourseClassID);
$avgGrade = $markbookTest->getCumulativeAverage($gibbonPersonID);
I have confirmed that the gibbonCourseClassID is valid, and that I’m getting a proper gibbonPersonID. What am I doing wrong?