ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ilAssLacUnableToParseCondition.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
15
class
ilAssLacUnableToParseCondition
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
16
{
20
protected
$condition
;
21
22
27
public
function
__construct
(
$condition
)
28
{
29
$this->condition =
$condition
;
30
31
parent::__construct(sprintf(
32
'The parser is unable to parse the condition "%s"'
,
33
$this->
getCondition
()
34
));
35
}
36
40
public
function
getCondition
()
41
{
42
return
$this->condition
;
43
}
44
49
public
function
getFormAlert
(
ilLanguage
$lng
)
50
{
51
return
sprintf(
52
$lng->
txt
(
"ass_lac_unable_to_parse_condition"
),
53
$this->
getCondition
()
54
);
55
}
56
}
ilAssLacUnableToParseCondition\__construct
__construct($condition)
Definition:
ilAssLacUnableToParseCondition.php:27
ilAssLacUnableToParseCondition\getCondition
getCondition()
Definition:
ilAssLacUnableToParseCondition.php:40
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:10
$lng
$lng
Definition:
save_question_post_data.php:23
ilAssLacUnableToParseCondition\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacUnableToParseCondition.php:49
ilAssLacUnableToParseCondition\$condition
$condition
Definition:
ilAssLacUnableToParseCondition.php:20
ilAssLacUnableToParseCondition
Definition:
ilAssLacUnableToParseCondition.php:15
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
php
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:237
ilAssLacException
Definition:
ilAssLacException.php:12
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacUnableToParseCondition.php
Generated on Thu Jan 16 2025 19:02:14 for ILIAS by
1.8.13 (using
Doxyfile
)