ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
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 message isn't optional as in build in class Exception. More...
 
 getFormAlert (ilLanguage $lng)
 

Protected Attributes

 $condition
 

Detailed Description

Definition at line 15 of file ilAssLacUnableToParseCondition.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 27 of file ilAssLacUnableToParseCondition.php.

28 {
29 $this->condition = $condition;
30
31 parent::__construct(sprintf(
32 'The parser is unable to parse the condition "%s"', $this->getCondition()
33 ));
34 }
sprintf('%.4f', $callTime)

References $condition, getCondition(), and sprintf.

+ Here is the call graph for this function:

Member Function Documentation

◆ getCondition()

ilAssLacUnableToParseCondition::getCondition ( )
Returns
string

Definition at line 39 of file ilAssLacUnableToParseCondition.php.

40 {
41 return $this->condition;
42 }

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 48 of file ilAssLacUnableToParseCondition.php.

49 {
50 return sprintf(
51 $lng->txt("ass_lac_unable_to_parse_condition"), $this->getCondition()
52 );
53 }
global $lng
Definition: privfeed.php:17

References $lng, and sprintf.

Field Documentation

◆ $condition

ilAssLacUnableToParseCondition::$condition
protected

Definition at line 20 of file ilAssLacUnableToParseCondition.php.

Referenced by __construct(), and getCondition().


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