ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ilAssLacUnsupportedExpression Class Reference
+ Inheritance diagram for ilAssLacUnsupportedExpression:
+ Collaboration diagram for ilAssLacUnsupportedExpression:

Public Member Functions

 __construct ($expression)
 
 getExpression ()
 
 getFormAlert (ilLanguage $lng)
 
- Public Member Functions inherited from ilException
 __construct ($a_message, $a_code=0)
 A message isn't optional as in build in class Exception. More...
 
 getFormAlert (ilLanguage $lng)
 

Protected Attributes

 $expression
 

Detailed Description

Definition at line 15 of file ilAssLacUnsupportedExpression.php.

Constructor & Destructor Documentation

◆ __construct()

ilAssLacUnsupportedExpression::__construct (   $expression)
Parameters
string$expression

Definition at line 25 of file ilAssLacUnsupportedExpression.php.

26 {
27 $this->expression = $expression;
28
29 parent::__construct(sprintf(
30 'The expression "%s" is not supported',
31 $this->getExpression()
32 ));
33 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $expression, ILIAS\GlobalScreen\Provider\__construct(), and getExpression().

+ Here is the call graph for this function:

Member Function Documentation

◆ getExpression()

ilAssLacUnsupportedExpression::getExpression ( )
Returns
string

Definition at line 38 of file ilAssLacUnsupportedExpression.php.

39 {
40 return $this->expression;
41 }

References $expression.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ getFormAlert()

ilAssLacUnsupportedExpression::getFormAlert ( ilLanguage  $lng)
Parameters
ilLanguage$lng
Returns
string

Implements ilAssLacFormAlertProvider.

Definition at line 47 of file ilAssLacUnsupportedExpression.php.

48 {
49 return sprintf(
50 $lng->txt("ass_lac_expression_not_supported"),
51 $this->getExpression()
52 );
53 }
$lng

References $lng.

Field Documentation

◆ $expression

ilAssLacUnsupportedExpression::$expression
protected

Definition at line 20 of file ilAssLacUnsupportedExpression.php.

Referenced by __construct(), and getExpression().


The documentation for this class was generated from the following file: