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

Allow plugins to add functions to standard services

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: 2.9
    • Fix Version/s: None
    • Component/s: Web Services
    • Labels:
    • Affected Branches:
      MOODLE_29_STABLE

      Description

      With the new AJAX standard service, currently we need to list all allowed functions in the core file "lib/db/service.php". This does not allow plugins to use this service for their own webservices - which we really want them to.

      We should allow plugins to add functions to the standard ajax service by adding them at the bottom of their own db/services.php file.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: