StructsΒ§
- CmsPage
Exercise - CmsPage
Exercise Slide - CmsPage
Exercise Task - CmsPage
Update - Content
Management Page - Course
Page With User Data - Exercise
Task πIdAnd Spec - Exercise
With Exercise Tasks - History
Restore Data - IsChapter
Front Page - NewCourse
Page - NewPage
- Represents the subset of page fields that are required to create a new page.
- Normalized
CmsExercise Task - Page
- Page
Audio Files - Page
Chapter AndCourse Information - Page
Details Update - Represents the subset of page fields that can be updated from the main frontend dialog βEdit page detailsβ.
- Page
Info - Page
Metadata - Page
Navigation Information - Page
Routing Data - Page
Search Result - Page
Update Args - Page
With Exercises - Search
Request
EnumsΒ§
FunctionsΒ§
- add_
course_ πurl_ prefix_ to_ search_ results - delete_
page_ and_ exercises - fetch_
derived_ πspec - get_
all_ by_ course_ id_ and_ visibility - Gets all pages that belong to the given course that match the visibility filter.
- get_
by_ exam_ id - Gets the page that belongs to the given exam. For exams, the page visibility is ignored.
- get_
by_ ids - get_
chapter_ front_ page_ by_ page_ id - get_
chapter_ pages - get_
chapters_ pages_ with_ exercises - get_
chapters_ visible_ pages_ exclude_ main_ frontpage - get_
course_ and_ exam_ id - get_
course_ page_ with_ user_ data_ from_ selected_ page - get_
course_ pages_ by_ chapter_ id_ and_ visibility - Gets all pages that belong to the given chapter that match the visibility filter.
- get_
course_ top_ level_ pages_ by_ course_ id_ and_ visibility - Gets all pages that belong to the given course but not in any chapter.
- get_
current_ πpage_ metadata - get_
next_ πorder_ number_ for_ courses_ top_ level_ pages - get_
next_ page - get_
next_ πpage_ by_ chapter_ number - get_
next_ πpage_ by_ order_ number - get_
next_ πpage_ order_ number_ in_ chapter - get_
organization_ id - get_
page - get_
page_ by_ course_ id_ and_ language_ group - get_
page_ πby_ path - get_
page_ chapter_ and_ course_ information - get_
page_ info - get_
page_ navigation_ data - get_
page_ search_ results_ for_ phrase - Returns search results for a phrase i.e. looks for matches where the words come up right after each other
- get_
page_ search_ results_ for_ words - Returns search results for the given words. The words can appear in the source document in any order.
- get_
page_ with_ exercises - get_
page_ with_ user_ data_ by_ path - get_
pages_ by_ course_ id - get_
previous_ page - get_
previous_ πpage_ by_ chapter_ number - get_
previous_ πpage_ by_ order_ number - insert_
course_ page - insert_
exam_ page - insert_
new_ content_ page - insert_
page - is_
chapter_ front_ page - reorder_
chapters - reorder_
pages - Makes the order numbers and chapter ids to match in the db whatβs in the page objects Assumes that all pages belong to the given course id Also assumes the list of pages includes all nondeleted pages in the course, except chapter front pages, which cannot be moved, otherwise we will end up with random order numbers
- restore
- Restore page contents and exercises to a previous revision
- set_
chapter - try_
to_ find_ redirected_ page - update_
page - update_
page_ content - Only used when testing.
- update_
page_ details - upsert_
exercise_ πslides - Remaps ids from updates to exercise slides that may have their ids changed.
- upsert_
exercise_ πtasks - Remaps ids from updates to exercise tasks that may have their ids changed.
- upsert_
exercises π - Remaps ids from updates to exercises that may have their ids regenerated.
- upsert_
peer_ or_ self_ review_ configs - upsert_
peer_ or_ self_ review_ questions