ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
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
}
ilAssLacException
Definition:
ilAssLacException.php:26
ilAssLacQuestionNotExist
Definition:
ilAssLacQuestionNotExist.php:29
ilAssLacQuestionNotExist\$question_index
$question_index
Definition:
ilAssLacQuestionNotExist.php:33
ilAssLacQuestionNotExist\getQuestionIndex
getQuestionIndex()
Definition:
ilAssLacQuestionNotExist.php:51
ilAssLacQuestionNotExist\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacQuestionNotExist.php:60
ilAssLacQuestionNotExist\__construct
__construct($question_index)
Definition:
ilAssLacQuestionNotExist.php:38
ilLanguage
language handling
Definition:
class.ilLanguage.php:43
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:26
ILIAS\GlobalScreen\Provider\__construct
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc
Definition:
PluginProviderHelper.php:38
ILIAS\Repository\int
int(string $key)
Definition:
trait.BaseGUIRequest.php:61
$lng
global $lng
Definition:
privfeed.php:31
components
ILIAS
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacQuestionNotExist.php
Generated on Sat Oct 18 2025 23:04:35 for ILIAS by
1.9.4 (using
Doxyfile
)