66 $question_expression = $composite->nodes[0];
67 $answer_expression = $composite->nodes[1];
68 $question_index = $composite->nodes[0]->getQuestionIndex();
70 $question = $this->object_loader->getQuestion($question_index);
76 $answer_index = $question_expression->getAnswerIndex() - 1;
93 foreach ($answer_expression->getOrdering() as $order) {
95 foreach ($answer_expression->getOrdering() as $element) {
96 if ($element == $order) {
107 if ($question instanceof assClozeTest) {
108 $this->
validateClozeTest($answer_index, $question, $answer_expression, $question_index);
121 ($composite->nodes[0] instanceof ilAssLacExpressionInterface &&
123 ($composite->nodes[0] instanceof ilAssLacSolutionExpressionInterface)
checkOperatorExistForExpression($operators, $answer_expression, $pattern)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
validateClozeTest($answer_index, $question, $answer_expression, $question_index)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkAnswerExpressionExist($expressions, $answer_expression, $question_index)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
isResultOfAnswerExpression($expression)
checkQuestionExists($question, $index)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
checkIfAnswerIndexOfQuestionExists($question, $question_index, $answer_index)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...