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

Update new WS to use component + handler

    XMLWordPrintable

    Details

      Description

      Right now we only take a handler, which is a namespaced class.

      We should be stricter and only take a component, and handler, which will translate into the fully-qualified namespaced class.

      Component can use the existing PARAM_COMPONENT
      The Handler can probably use PARAM_ALPHANUMEXT

      To do this we will also have to move the current \core_user\participants_table. I would suggest that we move it to core_user\table\participants

      In this example the component is core_user, and the handler is participants and the WS will forcibly require that the format is "{$component}\table\\\{$handler}

        Attachments

          Activity

            People

            Assignee:
            lameze Simey Lameze
            Reporter:
            dobedobedoh Andrew Nicols
            Peer reviewer:
            Andrew Nicols
            Integrator:
            Jun Pataleta
            Tester:
            CiBoT
            Participants:
            Component watchers:
            Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Sara Arjona (@sarjona)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Jun/20

                Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 4 hours, 28 minutes
                1d 4h 28m