ILIAS  trunk Revision v11.0_alpha-1731-gff9cd7e2bd3
All Data Structures Namespaces Files Functions Variables Enumerations Enumerator Modules Pages
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 }
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...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
__construct(Container $dic, ilPlugin $plugin)
global $lng
Definition: privfeed.php:31