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) {
56 $this->ordering[] = $match;
74 return "$" . join(
",", $this->ordering) .
"$";
83 return join(
",", $this->ordering) .
" beantwortet ";
96 $keys = array_filter(
$keys,
function ($element) {
97 return $element != null;
100 switch ($comperator) {
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.
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.
Class OrderingResultExpression for the expression $a,..,n,m$.