Module chapters

Module chapters 

Source

Structs§

Chapter
ChapterAvailability
ChapterInfo
ChapterPagesWithExercises
ChapterUpdate
ChapterWithStatus
CourseUserInfo
DatabaseChapter
NewChapter
UserChapterProgress
UserCourseInstanceChapterProgress

Enums§

ChapterStatus

Functions§

course_chapters
course_instance_chapters
delete_chapter
fetch_chapter_availability
fetch_course_users
fetch_user_chapter_progress
get_chapter
get_chapter_by_page_id
get_chapter_info_by_page_metadata
get_course_id
get_for_module
get_user_course_instance_chapter_progress
insert
is_open
Checks the opens_at field for the chapter and compares it to the current time. If null, the chapter is always open.
set_front_page
set_module
set_opens_at
update_chapter
update_chapter_image_path