3 include_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacAbstractExpression.php";
4 require_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacQuestionExpressionInterface.php";
27 public static $pattern =
"/Q[0-9]+\\[[0-9]+\\]/";
54 return '/(\d+)\[(\d+)\]/';
66 $this->question_index = $matches[1][0];
67 $this->answer_index = $matches[2][0];
92 return "Q" . $this->question_index .
'[' . $this->answer_index .
']';
101 return "Frage " . $this->question_index .
" mit Anwort " . $this->answer_index .
" beantwortet ";
Class ResultOfAnswerOfQuestion for the expression Qn[m].
getValue()
Get the value of this Expression.
getPattern()
Get the Pattern to match relevant informations for an Expression.
getDescription()
Get a human readable description of the Composite element.
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.
Class AbstractExpression.
Class QuestionExpressionInterface.