39 public static $pattern =
'/\*[0-9]+(?:,[0-9]+)*\*/';
67 $this->exclusive = [];
69 foreach ($matches[0] as $match) {
70 $this->exclusive[] = $match;
88 return "*" . join(
",", $this->exclusive) .
"*";
97 return join(
",", $this->exclusive) .
" beantwortet ";
107 public function checkResult($result, $comperator, $index =
null): bool
109 $values = $result->getUserSolutionsByIdentifier(
"value");
114 switch ($comperator) {
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.
getValue()
Get the value of this Expression.
getPattern()
Get the Pattern to match relevant informations for an Expression.
checkResult($result, $comperator, $index=null)
getDescription()
Get a human readable description of the Composite element.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...