Structsยง
- Completion
Registration Link - Course
Instance Completion Summary - Manual
Completion Preview - Manual
Completion Preview User - Teacher
Manual Completion - Teacher
Manual Completion Request - User
Completion Information - User
Course Module Completion - User
Module Completion Status - User
With Module Completions
Functionsยง
- add_
manual_ completions - check_
and_ insert_ suspected_ cheaters - create_
automatic_ ๐course_ module_ completion_ if_ eligible - Creates completion for the user if eligible and previous one doesnโt exist. Returns an Option containing the completion if one exists after calling this function.
- get_
completion_ registration_ link_ and_ save_ attempt - get_
course_ instance_ completion_ summary - get_
manual_ completion_ result_ preview - Gets a preview of changes that will occur to completions with the given manual completion data.
- get_
user_ completion_ information - get_
user_ module_ completion_ statuses_ for_ course_ instance - Gets course modules with userโs completion status for the given instance.
- process_
all_ course_ completions - Goes through all course instances on a course and grants completions to users on those courses where eligible.
- process_
all_ course_ instance_ completions - Goes through all users on the course instance and grants them completions where eligible.
- update_
automatic_ completion_ status_ and_ grant_ if_ eligible - Checks whether the course module can be completed automatically and creates an entry for completion if the user meets the criteria. Also re-checks module completion prerequisites if the module is completed.
- update_
module_ ๐completion_ prerequisite_ statuses_ for_ user - Fetches all course module completions for the given user on the given course and updates the prerequisite module completion statuses for any completions that are missing them.
- user_
can_ take_ exam - Checks whether the student can partake in an exam.
- user_
has_ ๐passed_ exam_ for_ the_ course_ based_ on_ points - Returns true if there is at least one exam associated with the course, that has ended and the user has received enough points from it.
- user_
is_ ๐eligible_ for_ automatic_ completion - user_
passes_ ๐automatic_ completion_ exercise_ tresholds