ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilAssLacUnsupportedOperation.php
Go to the documentation of this file.
1 <?php
2 
29 {
33  protected $operator;
34 
38  public function __construct($operator)
39  {
40  $this->operator = $operator;
41 
42  parent::__construct(sprintf(
43  'The operator "%s" is not supported',
44  $this->getOperator()
45  ));
46  }
47 
51  public function getOperator(): string
52  {
53  return $this->operator;
54  }
55 
60  public function getFormAlert(ilLanguage $lng): string
61  {
62  return sprintf(
63  $lng->txt("ass_lac_operator_not_supported"),
64  $this->getOperator()
65  );
66  }
67 }
txt(string $a_topic, string $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
$lng
__construct(Container $dic, ilPlugin $plugin)