3 include_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacAbstractExpression.php";
4 include_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacSolutionExpressionInterface.php";
26 public static $pattern =
'/\*[0-9]+(?:,[0-9]+)*\*/';
54 $this->exclusive =
array();
56 foreach($matches[0] as $match)
58 $this->exclusive[] = $match;
76 return "*" . join(
",", $this->exclusive) .
"*";
85 return join(
",", $this->exclusive) .
" beantwortet ";
97 $values =
$result->getUserSolutionsByIdentifier(
"value");
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.
getDescription()
Get a human readable description of the Composite element.
Class AbstractExpression.
Class ExclusiveResultExpression for the expression m,n,o,p
checkResult($result, $comperator, $index=null)
Class SolutionExpressionInterface.
Create styles array
The data for the language used.
getValue()
Get the value of this Expression.