ILIAS
release_8 Revision v8.19
◀ 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
n
o
p
r
s
t
u
v
w
x
+
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
j
l
m
p
s
t
u
+
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
r
s
t
u
v
w
x
z
+
Functions
_
a
b
c
d
e
g
h
i
m
n
p
r
s
t
u
v
x
+
Variables
$
a
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
z
Examples
•
All
Data Structures
Namespaces
Files
Functions
Variables
Modules
Pages
ilAssLacQuestionNotExist.php
Go to the documentation of this file.
1
<?php
2
28
class
ilAssLacQuestionNotExist
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
29
{
33
protected
$question_index
;
34
38
public
function
__construct
(
$question_index
)
39
{
40
$this->question_index =
$question_index
;
41
42
parent::__construct
(sprintf(
43
'The Question with index "Q%s" does not exist'
,
44
$this->
getQuestionIndex
()
45
));
46
}
47
51
public
function
getQuestionIndex
():
int
52
{
53
return
$this->question_index
;
54
}
55
60
public
function
getFormAlert
(
ilLanguage
$lng
): string
61
{
62
return
sprintf(
63
$lng->
txt
(
"ass_lac_question_not_exist"
),
64
$this->
getQuestionIndex
()
65
);
66
}
67
}
ilAssLacQuestionNotExist\getQuestionIndex
getQuestionIndex()
Definition:
ilAssLacQuestionNotExist.php:51
ilAssLacQuestionNotExist\__construct
__construct($question_index)
Definition:
ilAssLacQuestionNotExist.php:38
ilAssLacQuestionNotExist
Definition:
ilAssLacQuestionNotExist.php:28
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:172
$lng
$lng
Definition:
save_question_post_data.php:24
ilAssLacQuestionNotExist\$question_index
$question_index
Definition:
ilAssLacQuestionNotExist.php:33
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:25
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
Definition:
PluginProviderHelper.php:37
ilAssLacException
Definition:
ilAssLacException.php:25
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
ilAssLacQuestionNotExist\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacQuestionNotExist.php:60
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacQuestionNotExist.php
Generated on Wed Apr 9 2025 22:01:51 for ILIAS by
1.8.13 (using
Doxyfile
)