Courses Custom List
Enrolled courses list block with custom view and advanced presentation criteria.
General Description
Courses Custom List replicates a “my courses” experience distinct from Moodle native, maintaining consistency with enrolments and completion models.
Technical Implementation
-
Core APIs Integration
- Retrieves courses by enrolment and real user visibility.
- Reads progress/activity using Completion API (depending on configuration).
-
Performance
- Cache per-user (MUC) with invalidation by events (enrol/unenrol, course update).
- Queries with pagination: avoids loading huge lists in a single request.
-
Extensibility
- Renderable templates with
rendererandmustache(depending on version). - Hook for sorting rules and labels per client.
- Renderable templates with
Main Features
- Business-oriented UX
- Adapts to corporate academy or course sales models.
- Scalable
- Designed for hundreds or thousands of enrolled courses without degradation.