ILIAS
release_5-2 Revision v5.2.25-18-g3f80b828510
◀ ilDoc Overview
ilAssLacUnsupportedExpression.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
ilAssLacUnsupportedExpression
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
16
{
20
protected
$expression
;
21
25
public
function
__construct
(
$expression
)
26
{
27
$this->expression =
$expression
;
28
29
parent::__construct(sprintf(
30
'The expression "%s" is not supported'
, $this->
getExpression
()
31
));
32
}
33
37
public
function
getExpression
()
38
{
39
return
$this->expression
;
40
}
41
46
public
function
getFormAlert
(
ilLanguage
$lng
)
47
{
48
return
sprintf(
49
$lng->
txt
(
"ass_lac_expression_not_supported"
), $this->
getExpression
()
50
);
51
}
52
}
ilAssLacFormAlertProvider
Definition:
ilAssLacFormAlertProvider.php:10
ilAssLacUnsupportedExpression\$expression
$expression
Definition:
ilAssLacUnsupportedExpression.php:20
ilAssLacUnsupportedExpression\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacUnsupportedExpression.php:46
ilAssLacUnsupportedExpression\__construct
__construct($expression)
Definition:
ilAssLacUnsupportedExpression.php:25
ilAssLacUnsupportedExpression\getExpression
getExpression()
Definition:
ilAssLacUnsupportedExpression.php:37
ilAssLacUnsupportedExpression
Definition:
ilAssLacUnsupportedExpression.php:15
$lng
global $lng
Definition:
privfeed.php:17
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:253
ilAssLacException
Definition:
ilAssLacException.php:12
Modules
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacUnsupportedExpression.php
Generated on Fri Jan 17 2025 19:01:06 for ILIAS by
1.8.13 (using
Doxyfile
)