ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ilAssLacConditionParserException Class Reference

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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 code isn't optional as in build in class Exception. More...
 
 getFormAlert (ilLanguage $lng)
 

Protected Attributes

 $column
 

Detailed Description

This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V.

ILIAS is licensed with the GPL-3.0, see https://www.gnu.org/licenses/gpl-3.0.en.html You should have received a copy of said license along with the source code, too.

If this is not the case or you just want to try ILIAS, you'll find us at: https://www.ilias.de https://github.com/ILIAS-eLearning 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 27 of file ilAssLacConditionParserException.php.

Constructor & Destructor Documentation

◆ __construct()

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

Definition at line 37 of file ilAssLacConditionParserException.php.

38 {
39 $this->column = $column;
40
41 parent::__construct(sprintf(
42 'The expression at position "%s" is not valid',
43 $this->getColumn()
44 ));
45 }
__construct(Container $dic, ilPlugin $plugin)
@inheritDoc

References $column, ILIAS\GlobalScreen\Provider\__construct(), and getColumn().

+ Here is the call graph for this function:

Member Function Documentation

◆ getColumn()

ilAssLacConditionParserException::getColumn ( )
Returns
int

Definition at line 50 of file ilAssLacConditionParserException.php.

50 : int
51 {
52 return $this->column;
53 }

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 59 of file ilAssLacConditionParserException.php.

59 : string
60 {
61 return sprintf(
62 $lng->txt("ass_lac_invalid_statement"),
63 $this->getColumn()
64 );
65 }
global $lng
Definition: privfeed.php:31

References $lng.

Field Documentation

◆ $column

ilAssLacConditionParserException::$column
protected

Definition at line 32 of file ilAssLacConditionParserException.php.

Referenced by __construct(), and getColumn().


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