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

Generic code to create get_MODULE ws functions

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 2.5
    • Fix Version/s: BACKEND
    • Component/s: Web Services
    • Labels:
    • Affected Branches:
      MOODLE_25_STABLE

      Description

      We need to create a web service php template to explain how to write a get_MODULE() web service functions.

      Each of the mod_MODULE_get_MODULE() / get_MODULE_returns will have quite some piece of code in common. We need to find out what methods we can add to the exertnal library (lib/externallib.php) to help developer to create these two functions. Then the developer will concentrate only on the module specific fields. Finally we need some php template for "web service module" quick start.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                jerome Jérôme Mouneyrac
                Participants:
                Component watchers:
                Juan Leyva, Jake Dallimore, Jun Pataleta, Ryan Wyllie
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: