ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
◀ ilDoc Overview
ilAssLacQuestionNotReachable.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
ilAssLacQuestionNotReachable
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
16
{
20
protected
$question_index
;
21
25
public
function
__construct
(
$question_index
)
26
{
27
$this->question_index =
$question_index
;
28
29
parent::__construct(sprintf(
30
'The Question with index "Q%s" is not reachable from this node'
, $this->
getQuestionIndex
()
31
));
32
}
33
37
public
function
getQuestionIndex
()
38
{
39
return
$this->question_index
;
40
}
41
46
public
function
getFormAlert
(
ilLanguage
$lng
)
47
{
48
return
sprintf(
49
$lng->
txt
(
"ass_lac_question_not_reachable"
), $this->
getQuestionIndex
()
50
);
51
}
52
}
ilAssLacQuestionNotReachable\__construct
__construct($question_index)
Definition:
ilAssLacQuestionNotReachable.php:25
ilAssLacQuestionNotReachable\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacQuestionNotReachable.php:46
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:10
ilAssLacQuestionNotReachable\getQuestionIndex
getQuestionIndex()
Definition:
ilAssLacQuestionNotReachable.php:37
ilAssLacQuestionNotReachable
Definition:
ilAssLacQuestionNotReachable.php:15
$lng
global $lng
Definition:
privfeed.php:40
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
ilAssLacQuestionNotReachable\$question_index
$question_index
Definition:
ilAssLacQuestionNotReachable.php:20
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:235
ilAssLacException
Definition:
ilAssLacException.php:12
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacQuestionNotReachable.php
Generated on Wed Aug 27 2025 19:00:48 for ILIAS by
1.8.13 (using
Doxyfile
)