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

Introduce a proper API for the question bank

    XMLWordPrintable

Details

    • New Feature
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.0
    • None
    • Questions

    Description

      In the qusestion bank 4.0 project, a lot of very old code was moved into new plugins, and improved a lot. And, the new API for those plugins interacting with te core question system is pretty nice.

      However, the API for other bits of code wanting to inteact with the question bank was not sorted out. We need a proper API there.

      For example, when certain core functionality moved into a plugin (e.g. qbank_preview) we ended up with core code having to call a helper in that plugin, to get the preview URL for a question. This violates Moodle's principles on https://docs.moodle.org/dev/Communication_Between_Components. qbank_customfields is another problem (see MDL-72752).

      Attachments

        Activity

          People

            Unassigned Unassigned
            timhunt Tim Hunt
            Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: