LLMS_Grades
Description Description
Source Source
File: includes/class-llms-grades.php
Changelog Changelog
Version | Description |
---|---|
3.24.0 | Introduced. |
Methods Methods
- __construct — Private constructor
- calculate_course_grade — Calculate the grade for a course
- calculate_grade — Main grade calculation function Calculates the grade for a gradable post model DOES NOT CACHE RESULTS! See get_grade() for a function which uses caching
- calculate_grade_from_children — Calculates the grades for elements that have a list of children which are averaged / weighted to come up with the total grade
- calculate_lesson_grade — Calculates the grade for a lesson
- get_grade — Main grade getter function
- get_grade_from_cache — Retrieve a grade from the wp_cache
- instance — Get Main Singleton Instance
- round — Round grades according to filterable rounding options set during construction