MDL-27649 support question variants as a first-class concept in the question engine.

This commit is contained in:
Tim Hunt
2011-05-26 21:23:56 +01:00
parent f55192bf08
commit 1da821bbde
46 changed files with 283 additions and 98 deletions
+1 -1
View File
@@ -53,7 +53,7 @@ class qbehaviour_missing extends question_behaviour {
return '';
}
public function init_first_step(question_attempt_step $step) {
public function init_first_step(question_attempt_step $step, $variant) {
throw new coding_exception('The behaviour used for this question is not available. ' .
'No processing is possible.');
}