Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-35218 META: Course formats refactoring for 2.4
  3. MDL-36317

Add page set_course and set_cm callbacks in course formats

    XMLWordPrintable

    Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4
    • Fix Version/s: 2.4
    • Component/s: Course

      Description

      Add callbacks:
      format_base::page_set_course() is called from moodle_page::set_course() allowing course formats to run custom code at that point

      format_base::page_set_cm() is called from moodle_page::set_cm()

        Attachments

          Activity

            People

            Assignee:
            marina Marina Glancy
            Reporter:
            marina Marina Glancy
            Integrator:
            Dan Poltawski Dan Poltawski
            Tester:
            Jason Fowler Jason Fowler
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              3/Dec/12