ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
ilAssLacConditionParserException Class Reference

Class ConditionParserException. More...

+ Inheritance diagram for ilAssLacConditionParserException:
+ Collaboration diagram for ilAssLacConditionParserException:

Public Member Functions

 __construct ($column)
 
 getColumn ()
 
 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...
 

Protected Attributes

 $column
 

Detailed Description

Class ConditionParserException.

Date: 02.04.14 Time: 15:40

Author
Thomas Joußen tjous.nosp@m.sen@.nosp@m.datab.nosp@m.ay.d.nosp@m.e
Björn Heyser bheys.nosp@m.er@d.nosp@m.ataba.nosp@m.y.de

Definition at line 14 of file ilAssLacConditionParserException.php.

Constructor & Destructor Documentation

◆ __construct()

ilAssLacConditionParserException::__construct (   $column)
Parameters
int$column

Definition at line 24 of file ilAssLacConditionParserException.php.

References $column, column, and getColumn().

25  {
26  $this->column = $column;
27 
28  parent::__construct(sprintf(
29  'The expression at position "%s" is not valid', $this->getColumn()
30  ));
31  }
Set thin black border outline around column
+ Here is the call graph for this function:

Member Function Documentation

◆ getColumn()

ilAssLacConditionParserException::getColumn ( )
Returns
int

Definition at line 36 of file ilAssLacConditionParserException.php.

References $column.

Referenced by __construct(), and getFormAlert().

+ Here is the caller graph for this function:

◆ getFormAlert()

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

Implements ilAssLacFormAlertProvider.

Definition at line 45 of file ilAssLacConditionParserException.php.

References getColumn(), and ilLanguage\txt().

46  {
47  return sprintf(
48  $lng->txt("ass_lac_invalid_statement"), $this->getColumn()
49  );
50  }
txt($a_topic, $a_default_lang_fallback_mod="")
gets the text for a given topic if the topic is not in the list, the topic itself with "-" will be re...
+ Here is the call graph for this function:

Field Documentation

◆ $column

ilAssLacConditionParserException::$column
protected

Definition at line 19 of file ilAssLacConditionParserException.php.

Referenced by __construct(), and getColumn().


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