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

This commit is contained in:
M Kassaei 2012-01-20 11:59:14 +00:00 committed by Sam Hemelryk
parent 1bc47427f0
commit da22c0127b
4 changed files with 13 additions and 5 deletions

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.
*/