3 include_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacAbstractExpression.php";
4 include_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacSolutionExpressionInterface.php";
25 public static $pattern =
'/\$[0-9]+(?:,[0-9]+)*\$/';
53 $this->ordering =
array();
55 foreach($matches[0] as $match)
57 $this->ordering[] = $match;
75 return "$" . join(
",", $this->ordering) .
"$";
84 return join(
",", $this->ordering) .
" beantwortet ";
96 $keys =
$result->getUserSolutionsByIdentifier(
"key");
97 $keys = array_filter($keys,
function($element) {
98 return $element != null;
getValue()
Get the value of this Expression.
getDescription()
Get a human readable description of the Composite element.
Class AbstractExpression.
checkResult($result, $comperator, $index=null)
Class SolutionExpressionInterface.
Create styles array
The data for the language used.
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.
Class OrderingResultExpression for the expression $a,..,n,m$.