ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5
ilAssLacAnswerOfCurrentQuestionExpression.php
Go to the documentation of this file.
1 <?php
2 
3 include_once "Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacAbstractExpression.php";
4 require_once "Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Expressions/ilAssLacQuestionExpressionInterface.php";
5 
14 {
15 
24  public static $pattern = '/(R)(?=\=|<|>|\s|$)/';
25 
29  public static $identifier = "R";
30 
38  protected function setMatches($matches)
39  {
40  }
41 
47  public function getQuestionIndex()
48  {
49  return null;
50  }
51 
56  public function getValue()
57  {
58  return "R";
59  }
60 
65  public function getDescription()
66  {
67  return "Aktuelle Frage";
68  }
69 
74  protected function getPattern()
75  {
76  return '/.+/';
77  }
78 }
getDescription()
Get a human readable description of the Composite element.
Class AnswerOfCurrentQuestionExpression for the expression R.
setMatches($matches)
Sets the result of the parsed value by a specific expression pattern.
getPattern()
Get the Pattern to match relevant informations for an Expression.