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

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

      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.

            timhunt Tim Hunt
            timhunt Tim Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.