MDL-31306 question preview: disable 'Fill correct' for qtypes that can't

This commit is contained in:
M Kassaei
2012-01-24 13:27:34 +08:00
committed by Sam Hemelryk
parent d0c82a5609
commit 5d2dce09b3
4 changed files with 13 additions and 5 deletions
+1
View File
@@ -582,6 +582,7 @@ class question_usage_by_activity {
/**
* Get the correct response to a particular question. Passing the results of
* this method to {@link process_action()} will probably result in full marks.
* If it is not possible to compute a correct response, this method should return null.
* @param int $slot the number used to identify this question within this usage.
* @return array that constitutes a correct response to this question.
*/