ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssLacAnswerOfCurrentQuestionExpression.php
Go to the documentation of this file.
1<?php
2
27{
36 public static $pattern = '/(R)(?=\=|<|>|\s|$)/';
37
41 public static $identifier = "R";
42
50 protected function setMatches($matches): void
51 {
52 }
53
59 public function getQuestionIndex(): ?int
60 {
61 return null;
62 }
63
68 public function getValue(): string
69 {
70 return "R";
71 }
72
77 public function getDescription(): string
78 {
79 return "Aktuelle Frage";
80 }
81
86 protected function getPattern(): string
87 {
88 return '/.+/';
89 }
90}
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.
getDescription()
Get a human readable description of the Composite element.
getPattern()
Get the Pattern to match relevant informations for an Expression.
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...