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

Public Member Functions

 __construct ($condition)
 
 getCondition ()
 
 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

 $condition
 

Detailed Description

Definition at line 28 of file ilAssLacUnableToParseCondition.php.

Constructor & Destructor Documentation

◆ __construct()

ilAssLacUnableToParseCondition::__construct (   $condition)
Parameters
string$expression
int$question_index

Definition at line 40 of file ilAssLacUnableToParseCondition.php.

41 {
42 $this->condition = $condition;
43
44 parent::__construct(sprintf(
45 'The parser is unable to parse the condition "%s"',
46 $this->getCondition()
47 ));
48 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $condition, ILIAS\GlobalScreen\Provider\__construct(), and getCondition().

+ Here is the call graph for this function:

Member Function Documentation

◆ getCondition()

ilAssLacUnableToParseCondition::getCondition ( )
Returns
string

Definition at line 53 of file ilAssLacUnableToParseCondition.php.

53 : string
54 {
55 return $this->condition;
56 }

References $condition.

Referenced by __construct().

+ Here is the caller graph for this function:

◆ getFormAlert()

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

Implements ilAssLacFormAlertProvider.

Definition at line 62 of file ilAssLacUnableToParseCondition.php.

62 : string
63 {
64 return sprintf(
65 $lng->txt("ass_lac_unable_to_parse_condition"),
66 $this->getCondition()
67 );
68 }
global $lng
Definition: privfeed.php:31

References $lng.

Field Documentation

◆ $condition

ilAssLacUnableToParseCondition::$condition
protected

Definition at line 33 of file ilAssLacUnableToParseCondition.php.

Referenced by __construct(), and getCondition().


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