Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-83867

Design the basic overview classes design

XMLWordPrintable

    • HQ 2024 Sprint I4.3 Moppies

      The new centralized course overview page won't use the plugins "index.php" file anymore. From now on, activity plugins can implement integration classes to provide the information, and the core will be responsible for rendering it as best as possible.

      This task is about designing the classes for both core and plugins to make the overview information as reusable as posible.

      The identified core classes are:

      • core_course\overview: this is the base class all plugins will extend.
      • core_course\overviewitem: represents a specific overview data. Plugins will create an instance of this class for each overview data element.
      • core_course\output\overviewtable: the output class that can render all plugin instances overview in a single table.

      At an activity plugin level the classes will be:

      • mod_PLUGINNAME\course\overview responsible for providing all the overview for a specific instance.

            tusefomal Ferran Recio
            tusefomal Ferran Recio
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.