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

Events get_legacy_eventname should be public and static

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Events API
    • Labels:
    • Sprint:
      BACKEND Sprint 3

      Description

      It would be useful for automatic documentation purposes to be able to get_legacy_eventname statically from an event class to know whether it matches a previous event or not.

      Currently it is a non-static protected method.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ankit_frenz Ankit Agarwal
              Reporter:
              fred Frédéric Massart
              Integrator:
              Marina Glancy
              Tester:
              Petr Skoda
              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:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13