ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssLacConditionParserException.php
Go to the documentation of this file.
1<?php
2
28{
32 protected $column;
33
37 public function __construct($column)
38 {
39 $this->column = $column;
40
41 parent::__construct(sprintf(
42 'The expression at position "%s" is not valid',
43 $this->getColumn()
44 ));
45 }
46
50 public function getColumn(): int
51 {
52 return $this->column;
53 }
54
59 public function getFormAlert(ilLanguage $lng): string
60 {
61 return sprintf(
62 $lng->txt("ass_lac_invalid_statement"),
63 $this->getColumn()
64 );
65 }
66}
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
language handling
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
global $lng
Definition: privfeed.php:31