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

"Other" parameters should be defined in a method similar to webservices

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.7
    • Fix Version/s: BACKEND
    • Component/s: Events API
    • Labels:

      Description

      To properly document each class (like web services) each of the "other" parameters should be defined, possibly in a new method.
      Reasons for this improvement:

      1. This will give some certainty to developers creating observers listening to these events.
      2. Validation can be done in the base class instead of event specific validations for the other properties.
      3. The event list report can retrieve this information is a satisfactory way.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              abgreeve Adrian Greeve
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona), Víctor Déniz Falcón
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: