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.
- is duplicated by
-
MDL-17872 Refactor display of each column type into a separate class
-
- Closed
-