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 "Anwort " . $this->numeric_value .
" beantwortet ";
92 $isTrue = $isTrue || $this->
compare($comperator, $value);
96 $isTrue = $this->
compare($comperator, $solution[
"value"]);
104 switch ($comperator) {
getValue()
Get the value of this Expression.
Class AbstractExpression.
Class SolutionExpressionInterface.
compare($comperator, $value)
getDescription()
Get a human readable description of the Composite element.
Class NumberOfResultExpression fot the expression +n+.
checkResult($result, $comperator, $index=null)
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.