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

Storing data for observers in events

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.6.1
    • 2.6.2
    • Events API
    • BACKEND Sprint 11

    Description

      This issue is half-bugfix and half-policy.
      Sometimes events need extra information that they give to observers. At the moment we have get_legacy_eventdata() method but it is protected and can not be used by new-style observers.

      Bug: some existing events lack public method for the custom data that is given to old-style observers.

      Policy: we need to standartise interface for additional data.

      Attachments

        Issue Links

          Activity

            People

              marina Marina Glancy
              marina Marina Glancy
              Petr Skoda Petr Skoda
              Damyon Wiese Damyon Wiese
              Damyon Wiese Damyon Wiese
              David Woloszyn, Huong Nguyen, Jake Dallimore, Michael Hawkins, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                10/Mar/14