ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssLacUnableToParseCondition.php
Go to the documentation of this file.
1<?php
2
29{
33 protected $condition;
34
35
40 public function __construct($condition)
41 {
42 $this->condition = $condition;
43
44 parent::__construct(sprintf(
45 'The parser is unable to parse the condition "%s"',
46 $this->getCondition()
47 ));
48 }
49
53 public function getCondition(): string
54 {
55 return $this->condition;
56 }
57
62 public function getFormAlert(ilLanguage $lng): string
63 {
64 return sprintf(
65 $lng->txt("ass_lac_unable_to_parse_condition"),
66 $this->getCondition()
67 );
68 }
69}
language handling
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $lng
Definition: privfeed.php:31