3 include_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacAbstractExpression.php";
4 require_once
"Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacQuestionExpressionInterface.php";
30 public static $pattern =
'/(Q\d+)(?=\=|<|>|\s|$)/';
53 $this->question_index = $matches[0][0];
81 return "Frage " . $this->question_index .
" ";
getQuestionIndex()
Get the question index.
getValue()
Get the value of this Expression.
Class AbstractExpression.
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.
Class QuestionExpressionInterface.
Class AnswerOfQuestionExpression for the expression Qn.
getPattern()
Get the Pattern to match relevant informations for an Expression.
getDescription()
Get a human readable description of the Composite element.