Expand description
The course tree the structure tools read and edit, and the paths that address it.
Structsยง
- Course
Structure - The course tree as agents read and edit it. Children arrays are in display order.
- Loc ๐
- Where an entity is: its list and its index there.
- Structure
Chapter - A chapter and its pages in order.
- Structure
Module - A module and its chapters in order.
- Structure
Page - A pageโs own fields with counts of its content; the blocks are the page toolโs.
- Structure
Path ๐ - A structure path split into its parts, before its ids and labels are resolved:
/<root>/<child>/โฆ.
Enumsยง
- Entity ๐
- Entity
Ref ๐ - A module, chapter or page of a
CourseStructure. Serializes as the entity itself. - Kind ๐
- What a course tree entity is.
- ListRef ๐
- One of the course treeโs ordered lists.
Constantsยง
- RENDERED_
KEYS ๐ - Keys a read adds to an entity besides its fields. Writes ignore them, so an entity read back can be written again.
Functionsยง
- entity_
ids ๐ - parse_
structure_ ๐path - Splits a structure path into its parts;
Nonewhen it doesnโt start with/.