ILIAS
trunk Revision v11.0_alpha-3011-gc6b235a2e85
◀ ilDoc Overview
ilAssLacOperatorNotSupportedByExpression.php
Go to the documentation of this file.
1
<?php
2
28
class
ilAssLacOperatorNotSupportedByExpression
extends
ilAssLacException
implements
ilAssLacFormAlertProvider
29
{
33
protected
$operator
;
34
38
protected
$expression
;
39
44
public
function
__construct
(
$expression
,
$operator
)
45
{
46
$this->expression =
$expression
;
47
$this->
operator
=
$operator
;
48
49
parent::__construct
(sprintf(
50
'The expression "%s" is not supported by the operator "%s"'
,
51
$this->
getExpression
(),
52
$this->
getOperator
()
53
));
54
}
55
59
public
function
getExpression
(): string
60
{
61
return
$this->expression
;
62
}
63
67
public
function
getOperator
(): string
68
{
69
return
$this->operator
;
70
}
71
76
public
function
getFormAlert
(
ilLanguage
$lng
): string
77
{
78
return
sprintf(
79
$lng
->txt(
"ass_lac_operator_not_supported_by_expression"
),
80
$this->getOperator(),
81
$this->getExpression()
82
);
83
}
84
}
ilAssLacException
Definition:
ilAssLacException.php:26
ilAssLacOperatorNotSupportedByExpression
Definition:
ilAssLacOperatorNotSupportedByExpression.php:29
ilAssLacOperatorNotSupportedByExpression\__construct
__construct($expression, $operator)
Definition:
ilAssLacOperatorNotSupportedByExpression.php:44
ilAssLacOperatorNotSupportedByExpression\getFormAlert
getFormAlert(ilLanguage $lng)
Definition:
ilAssLacOperatorNotSupportedByExpression.php:76
ilAssLacOperatorNotSupportedByExpression\$expression
$expression
Definition:
ilAssLacOperatorNotSupportedByExpression.php:38
ilAssLacOperatorNotSupportedByExpression\getExpression
getExpression()
Definition:
ilAssLacOperatorNotSupportedByExpression.php:59
ilAssLacOperatorNotSupportedByExpression\$operator
$operator
Definition:
ilAssLacOperatorNotSupportedByExpression.php:33
ilAssLacOperatorNotSupportedByExpression\getOperator
getOperator()
Definition:
ilAssLacOperatorNotSupportedByExpression.php:67
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
$lng
global $lng
Definition:
privfeed.php:31
components
ILIAS
TestQuestionPool
classes
questions
LogicalAnswerCompare
Exception
ilAssLacOperatorNotSupportedByExpression.php
Generated on Sat Oct 18 2025 23:04:35 for ILIAS by
1.9.4 (using
Doxyfile
)