ILIAS  release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
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...
 
 getFormAlert (ilLanguage $lng)
 

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.

25 {
26 $this->column = $column;
27
28 parent::__construct(sprintf(
29 'The expression at position "%s" is not valid', $this->getColumn()
30 ));
31 }

References $column, and getColumn().

+ Here is the call graph for this function:

Member Function Documentation

◆ getColumn()

ilAssLacConditionParserException::getColumn ( )
Returns
int

Definition at line 36 of file ilAssLacConditionParserException.php.

37 {
38 return $this->column;
39 }

References $column.

Referenced by __construct().

+ 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.

46 {
47 return sprintf(
48 $lng->txt("ass_lac_invalid_statement"), $this->getColumn()
49 );
50 }
global $lng
Definition: privfeed.php:40

References $lng.

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: