12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455 |
- <?php
- class Aiken2Question extends Question
- {
-
- function setAnswer()
- {
- switch ($this->type) {
- case MCUA:
- $answer = new AikenAnswerMultipleChoice($this->id);
- return $answer;
- default:
- $answer = null;
- break;
- }
- return $answer;
- }
- public function createAnswersForm($form)
- {
- return true;
- }
-
- public function processAnswersCreation($form, $exercise)
- {
- return true;
- }
- }
- class AikenAnswerMultipleChoice extends Answer
- {
- }
|