ILIAS
release_7 Revision v7.30-3-g800a261c036
◀ ilDoc Overview
Main Page
Related Pages
Modules
+
Namespaces
Namespace List
+
Namespace Members
+
All
$
_
a
b
c
d
e
f
g
h
i
j
l
m
p
r
s
t
w
+
Functions
_
a
b
c
f
g
h
i
r
s
t
w
+
Variables
$
c
d
e
f
g
h
j
l
m
p
s
t
+
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
+
Data Fields
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Files
File List
+
Globals
+
All
$
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
+
Variables
$
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ilAssLacDuplicateElement.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
ilAssLacDuplicateElement
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
16
{
20
protected
$element
;
21
25
public
function
__construct
(
$element
)
26
{
27
$this->element =
$element
;
28
29
parent::__construct
(sprintf(
30
'Duplicate key "%s" in condition'
,
31
$this->
getElement
()
32
));
33
}
34
38
public
function
getElement
()
39
{
40
return
$this->element
;
41
}
42
47
public
function
getFormAlert
(
ilLanguage
$lng
)
48
{
49
return
sprintf(
50
$lng->
txt
(
"ass_lac_duplicate_element"
),
51
$this->
getElement
()
52
);
53
}
54
}
ilLanguage
ilAssLacDuplicateElement\__construct
__construct($element)
Definition:
ilAssLacDuplicateElement.php:25
ilAssLacDuplicateElement\$element
$element
Definition:
ilAssLacDuplicateElement.php:20
ilAssLacDuplicateElement\getElement
getElement()
Definition:
ilAssLacDuplicateElement.php:38
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:10
$lng
$lng
Definition:
save_question_post_data.php:23
ilAssLacDuplicateElement\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacDuplicateElement.php:47
ilAssLacDuplicateElement
Definition:
ilAssLacDuplicateElement.php:15
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:40
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:257
ilAssLacException
Definition:
ilAssLacException.php:12
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacDuplicateElement.php
Generated on Wed Apr 9 2025 21:01:20 for ILIAS by
1.8.13 (using
Doxyfile
)