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

Create API for recent activity

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Minor Minor
    • None
    • 2.7
    • Blocks, Course

      At the moment each module must define several callbacks:
      xxx_get_recent_mod_activity
      xxx_print_recent_mod_activity
      xxx_print_recent_activity

      this is

      • quite confusing,
      • there is a lot of code repetition because of almost identical functions for block and report
      • the results are returned mostly in HTML and there is no possibility to control what and how to display

      Suggestion is to create a base class \core_course\recentactivity that modules can extend to implement their logic

            Unassigned Unassigned
            marina Marina Glancy
            Votes:
            2 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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