ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
ilAssLacConditionParserException.php
Go to the documentation of this file.
1<?php
2
3require_once 'Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Exception/ilAssLacException.php';
4require_once 'Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Exception/ilAssLacFormAlertProvider.php';
5
15{
19 protected $column;
20
24 public function __construct($column)
25 {
26 $this->column = $column;
27
28 parent::__construct(sprintf(
29 'The expression at position "%s" is not valid', $this->getColumn()
30 ));
31 }
32
36 public function getColumn()
37 {
38 return $this->column;
39 }
40
45 public function getFormAlert(ilLanguage $lng)
46 {
47 return sprintf(
48 $lng->txt("ass_lac_invalid_statement"), $this->getColumn()
49 );
50 }
51}
language handling
global $lng
Definition: privfeed.php:40