ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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 message isn't optional as in build in class Exception. More...
 
 getFormAlert (ilLanguage $lng)
 

Protected Attributes

 $operator
 

Detailed Description

Definition at line 15 of file ilAssLacUnsupportedOperation.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 25 of file ilAssLacUnsupportedOperation.php.

26 {
27 $this->operator = $operator;
28
29 parent::__construct(sprintf(
30 'The operator "%s" is not supported', $this->getOperator()
31 ));
32 }

References $operator, 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 46 of file ilAssLacUnsupportedOperation.php.

47 {
48 return sprintf(
49 $lng->txt("ass_lac_operator_not_supported"), $e->getOperator()
50 );
51 }
global $lng
Definition: privfeed.php:40

References $lng.

◆ getOperator()

ilAssLacUnsupportedOperation::getOperator ( )
Returns
string

Definition at line 37 of file ilAssLacUnsupportedOperation.php.

38 {
39 return $this->operator;
40 }

References $operator.

Referenced by __construct().

+ Here is the caller graph for this function:

Field Documentation

◆ $operator

ilAssLacUnsupportedOperation::$operator
protected

Definition at line 20 of file ilAssLacUnsupportedOperation.php.

Referenced by __construct(), and getOperator().


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