ILIAS
trunk Revision v11.0_alpha-2638-g80c1d007f79
◀ ilDoc Overview
ilAssLacDuplicateElement.php
Go to the documentation of this file.
1
<?php
2
28
class
ilAssLacDuplicateElement
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
29
{
33
protected
$element
;
34
38
public
function
__construct
(
$element
)
39
{
40
$this->element =
$element
;
41
42
parent::__construct
(sprintf(
43
'Duplicate key "%s" in condition'
,
44
$this->
getElement
()
45
));
46
}
47
51
public
function
getElement
(): string
52
{
53
return
$this->element
;
54
}
55
60
public
function
getFormAlert
(
ilLanguage
$lng
): string
61
{
62
return
sprintf(
63
$lng->
txt
(
"ass_lac_duplicate_element"
),
64
$this->
getElement
()
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
ilAssLacDuplicateElement\__construct
__construct($element)
Definition:
ilAssLacDuplicateElement.php:38
ilAssLacDuplicateElement\$element
$element
Definition:
ilAssLacDuplicateElement.php:33
ilAssLacDuplicateElement\getElement
getElement()
Definition:
ilAssLacDuplicateElement.php:51
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:25
ilAssLacDuplicateElement\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacDuplicateElement.php:60
ilAssLacDuplicateElement
Definition:
ilAssLacDuplicateElement.php:28
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
components
ILIAS
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacDuplicateElement.php
Generated on Sun Aug 31 2025 23:04:04 for ILIAS by
1.8.13 (using
Doxyfile
)