ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilAssLacMissingBracket.php
Go to the documentation of this file.
1
<?php
2
28
class
ilAssLacMissingBracket
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
29
{
33
protected
$bracket
;
34
38
public
function
__construct
(
$bracket
)
39
{
40
$this->bracket =
$bracket
;
41
42
parent::__construct
(sprintf(
43
'There is a bracket "%s" missing in the condition'
,
44
$this->
getBracket
()
45
));
46
}
47
51
public
function
getBracket
(): string
52
{
53
return
$this->bracket
;
54
}
55
60
public
function
getFormAlert
(
ilLanguage
$lng
): string
61
{
62
return
sprintf(
63
$lng->
txt
(
"ass_lac_missing_bracket"
),
64
$this->
getBracket
()
65
);
66
}
67
}
ilLanguage
ilLanguage\txt
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...
Definition:
class.ilLanguage.php:170
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:25
ilAssLacMissingBracket\__construct
__construct($bracket)
Definition:
ilAssLacMissingBracket.php:38
ilAssLacMissingBracket
Definition:
ilAssLacMissingBracket.php:28
ilAssLacMissingBracket\$bracket
$bracket
Definition:
ilAssLacMissingBracket.php:33
ilAssLacMissingBracket\getBracket
getBracket()
Definition:
ilAssLacMissingBracket.php:51
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
$lng
global $lng
Definition:
privfeed.php:31
ilAssLacException
Definition:
ilAssLacException.php:25
ilAssLacMissingBracket\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacMissingBracket.php:60
components
ILIAS
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacMissingBracket.php
Generated on Sun Aug 31 2025 23:04:04 for ILIAS by
1.8.13 (using
Doxyfile
)