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

Formalise a way to retrieve and update course section start and end dates at course format API level

    XMLWordPrintable

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 3.4, 3.5.5, 3.6.3, 3.7
    • None
    • Course
    • MOODLE_34_STABLE, MOODLE_35_STABLE, MOODLE_36_STABLE, MOODLE_37_STABLE

    Description

      In analytics we are interested in retrieving section end dates and update them, we are currently doing it using get_section_dates and update_end_date, which is specific to format_weeks; this is not ideal because we are using the method_exists trick, an API should communicate with other APIs with methods available at base class level and a format_months extending format_base should also work in analytics (although if that format would exist it would probably extend format_weeks).This case is a bit on the border because not all formats have sections.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              dmonllao David Monllaó
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated: