ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
ilAssLacConditionParserException.php
Go to the documentation of this file.
1
<?
php
2
3
require_once
'Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Exception/ilAssLacException.php'
;
4
require_once
'Modules/TestQuestionPool/classes/questions/LogicalAnswerCompare/Exception/ilAssLacFormAlertProvider.php'
;
5
14
class
ilAssLacConditionParserException
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
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
}
ilAssLacConditionParserException\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacConditionParserException.php:45
ilAssLacConditionParserException\getColumn
getColumn()
Definition:
ilAssLacConditionParserException.php:36
ilAssLacConditionParserException
Class ConditionParserException.
Definition:
ilAssLacConditionParserException.php:14
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:10
ilAssLacConditionParserException\$column
$column
Definition:
ilAssLacConditionParserException.php:19
ilAssLacConditionParserException\__construct
__construct($column)
Definition:
ilAssLacConditionParserException.php:24
$lng
global $lng
Definition:
privfeed.php:17
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
php
column
Set thin black border outline around column
Definition:
05featuredemo.inc.php:177
ilLanguage\txt
txt($a_topic, $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...
Definition:
class.ilLanguage.php:253
ilAssLacException
Definition:
ilAssLacException.php:12
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacConditionParserException.php
Generated on Fri Jan 24 2025 19:01:03 for ILIAS by
1.8.13 (using
Doxyfile
)