ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
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, Throwable $previous=null)
 A code isn't optional as in build in class Exception. More...
 

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.

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

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)
+ Here is the call graph for this function:

Member Function Documentation

◆ getColumn()

ilAssLacConditionParserException::getColumn ( )
Returns
int

Definition at line 50 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 59 of file ilAssLacConditionParserException.php.

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

59  : string
60  {
61  return sprintf(
62  $lng->txt("ass_lac_invalid_statement"),
63  $this->getColumn()
64  );
65  }
txt(string $a_topic, string $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 32 of file ilAssLacConditionParserException.php.

Referenced by __construct(), and getColumn().


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