ILIAS
release_5-4 Revision v5.4.26-12-gabc799a52e6
◀ ilDoc Overview
ilAssLacUnsupportedOperation.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
ilAssLacUnsupportedOperation
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
16
{
20
protected
$operator
;
21
25
public
function
__construct
(
$operator
)
26
{
27
$this->
operator
=
$operator
;
28
29
parent::__construct(sprintf(
30
'The operator "%s" is not supported'
,
31
$this->
getOperator
()
32
));
33
}
34
38
public
function
getOperator
()
39
{
40
return
$this->operator
;
41
}
42
47
public
function
getFormAlert
(
ilLanguage
$lng
)
48
{
49
return
sprintf(
50
$lng->
txt
(
"ass_lac_operator_not_supported"
),
51
$e->getOperator()
52
);
53
}
54
}
ilAssLacUnsupportedOperation
Definition:
ilAssLacUnsupportedOperation.php:15
ilAssLacUnsupportedOperation\$operator
$operator
Definition:
ilAssLacUnsupportedOperation.php:20
ilAssLacUnsupportedOperation\getOperator
getOperator()
Definition:
ilAssLacUnsupportedOperation.php:38
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:10
$lng
$lng
Definition:
save_question_post_data.php:23
ilAssLacUnsupportedOperation\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacUnsupportedOperation.php:47
ilLanguage
language handling
Definition:
class.ilLanguage.php:26
php
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:237
ilAssLacUnsupportedOperation\__construct
__construct($operator)
Definition:
ilAssLacUnsupportedOperation.php:25
ilAssLacException
Definition:
ilAssLacException.php:12
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacUnsupportedOperation.php
Generated on Thu Jan 16 2025 19:02:14 for ILIAS by
1.8.13 (using
Doxyfile
)