MDL-27747 quiz summary, add a CSS class to the table rows based on question state.
commit97cdc1de72116d78238b15cd1ed8699d6bc4f89e
authorTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 7 Jun 2011 14:10:59 +0000 (7 15:10 +0100)
committerTim Hunt <T.J.Hunt@open.ac.uk>
Tue, 7 Jun 2011 14:11:04 +0000 (7 15:11 +0100)
treed450b817a9b357bbdd28783cb7eb20c0dd9917b5
parent4464734bb6f58badf73a4793fa2ba3b6d13c5790
MDL-27747 quiz summary, add a CSS class to the table rows based on question state.

The standard themes do not use this for anything, but it makes it easier for themers to do cool stuff.
Also improve the API for getting the question state class.
mod/quiz/attemptlib.php
mod/quiz/renderer.php
question/engine/questionattempt.php
question/engine/questionusage.php