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) {
57 $this->exclusive[] = $match;
75 return "*" . join(
",", $this->exclusive) .
"*";
84 return join(
",", $this->exclusive) .
" beantwortet ";
101 switch ($comperator) {
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.
getValue()
Get the value of this Expression.