LLMS_Student::get_overall_grade( boolean $use_cache = true )

Retrieve the student’s overall grade


Description Description

Grade = sum of grades for all courses divided by number of enrolled courses if a course has no quizzes in it, it cannot be graded and is therefore excluded from the calculation.

Cached data is automatically cleared when a student completes a quiz.


Parameters Parameters

$use_cache

(Optional) If false, calculates the grade, otherwise utilizes cached data (if available)

Default value: true


Top ↑

Return Return

(float|string) Grade as float or "N/A"


Top ↑

Source Source

File: includes/models/model.llms.student.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.