Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-16345 Moodle 2.0 question bank improvements
  3. MDL-17871

Refactor display of each column type into a separate class

    XMLWordPrintable

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0
    • 2.0
    • Questions
    • None
    • MOODLE_20_STABLE
    • MOODLE_20_STABLE

    Description

      The class for each column (type) will control

      • rendering the heading and the data for a question;
      • generating the right sort clause and field names in the query
        These will be sub-classes of a base class.

      Then we will define the table as an array of column-class instances.

      Need to support 'columns' that take a whole extra row, like question text, as well as ones that fit into a <td>.

      The compact view will look almost exactly as it does in Olli's new editing interface.

      In the full view, there will be new columns "Creator", "Created", "Modified" and "Tags" in addition to what we have now.

      Attachments

        Issue Links

          Activity

            People

              timhunt Tim Hunt
              timhunt Tim Hunt
              Safat Shahin, Tim Hunt, Andrew Lyons, Huong Nguyen, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze, Stevani Andolo
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                24/Nov/10