ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssLacUnsupportedOperation Class Reference
+ Inheritance diagram for ilAssLacUnsupportedOperation:
+ Collaboration diagram for ilAssLacUnsupportedOperation:

Public Member Functions

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

Protected Attributes

 $operator
 

Detailed Description

Definition at line 28 of file ilAssLacUnsupportedOperation.php.

Constructor & Destructor Documentation

◆ __construct()

ilAssLacUnsupportedOperation::__construct (   $operator)
Parameters
string$operator

Definition at line 38 of file ilAssLacUnsupportedOperation.php.

39 {
40 $this->operator = $operator;
41
42 parent::__construct(sprintf(
43 'The operator "%s" is not supported',
44 $this->getOperator()
45 ));
46 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $operator, ILIAS\GlobalScreen\Provider\__construct(), and getOperator().

+ Here is the call graph for this function:

Member Function Documentation

◆ getFormAlert()

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

Implements ilAssLacFormAlertProvider.

Definition at line 60 of file ilAssLacUnsupportedOperation.php.

60 : string
61 {
62 return sprintf(
63 $lng->txt("ass_lac_operator_not_supported"),
64 $this->getOperator()
65 );
66 }
global $lng
Definition: privfeed.php:31

References $lng.

◆ getOperator()

ilAssLacUnsupportedOperation::getOperator ( )
Returns
string

Definition at line 51 of file ilAssLacUnsupportedOperation.php.

51 : string
52 {
53 return $this->operator;
54 }

References $operator.

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $operator

ilAssLacUnsupportedOperation::$operator
protected

Definition at line 33 of file ilAssLacUnsupportedOperation.php.

Referenced by __construct(), and getOperator().


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