ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ 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"'
, $this->
getCondition
()
33
));
34
}
35
39
public
function
getCondition
()
40
{
41
return
$this->condition
;
42
}
43
48
public
function
getFormAlert
(
ilLanguage
$lng
)
49
{
50
return
sprintf
(
51
$lng
->txt(
"ass_lac_unable_to_parse_condition"
), $this->getCondition()
52
);
53
}
54
}
sprintf
sprintf('%.4f', $callTime)
Definition:
01pharSimple.php:87
php
An exception for terminatinating execution or to throw for unit testing.
ilAssLacException
Definition:
ilAssLacException.php:13
ilAssLacUnableToParseCondition
Definition:
ilAssLacUnableToParseCondition.php:16
ilAssLacUnableToParseCondition\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacUnableToParseCondition.php:48
ilAssLacUnableToParseCondition\getCondition
getCondition()
Definition:
ilAssLacUnableToParseCondition.php:39
ilAssLacUnableToParseCondition\__construct
__construct($condition)
Definition:
ilAssLacUnableToParseCondition.php:27
ilAssLacUnableToParseCondition\$condition
$condition
Definition:
ilAssLacUnableToParseCondition.php:20
ilLanguage
language handling
Definition:
class.ilLanguage.php:27
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:11
$lng
global $lng
Definition:
privfeed.php:17
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacUnableToParseCondition.php
Generated on Fri Oct 3 2025 19:00:53 for ILIAS by
1.9.4 (using
Doxyfile
)