3 include_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacAbstractExpression.php";
4 include_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacSolutionExpressionInterface.php";
49 $this->numeric_value = $matches[0][0];
66 return "#" . $this->numeric_value .
"#";
75 return $this->numeric_value .
" beantwortet ";
89 $values =
$result->getUserSolutionsByIdentifier(
"value");
91 foreach ($values as $value) {
92 $isTrue = $isTrue || $this->
compare($comperator, $value);
96 $isTrue = $this->
compare($comperator, $solution[
"value"]);
104 switch ($comperator) {
getDescription()
Get a human readable description of the Composite element.
Class AbstractExpression.
getValue()
Get the value of this Expression.
Class NumericResultExpression for the expression n#.
checkResult($result, $comperator, $index=null)
Class SolutionExpressionInterface.
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.
compare($comperator, $value)