ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
ilAssLacAnswerOfCurrentQuestionExpression 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 ilAssLacAnswerOfCurrentQuestionExpression:
+ Collaboration diagram for ilAssLacAnswerOfCurrentQuestionExpression:

Public Member Functions

 getQuestionIndex ()
 Get the question index. More...
 
 getValue ()
 Get the value of this Expression. More...
 
 getDescription ()
 Get a human readable description of the Composite element. More...
 
- Public Member Functions inherited from ilAssLacAbstractExpression
 parseValue ($value)
 Parses the delivered Value and sets the relevant information for an Expression as attributes. More...
 
- Public Member Functions inherited from ilAssLacAbstractComposite
 addNode (ilAssLacCompositeInterface $node)
 Adds an ilAssLacCompositeInterface object to the node array which represents the condition tree structure. More...
 
 describe ()
 Describes a Composite tree Structure as human readable string. More...
 

Static Public Attributes

static $pattern = '/(R)(?=\=|<|>|\s|$)/'
 
static $identifier = "R"
 

Protected Member Functions

 setMatches ($matches)
 Sets the result of the parsed value by a specific expression pattern. More...
 
 getPattern ()
 Get the Pattern to match relevant informations for an Expression. More...
 
- Protected Member Functions inherited from ilAssLacAbstractExpression
 getPattern ()
 Get the Pattern to match relevant informations for an Expression. More...
 
 setMatches ($matches)
 Sets the result of the parsed value by a specific expression pattern. More...
 

Additional Inherited Members

- Data Fields inherited from ilAssLacAbstractComposite
 $nodes = array()
 

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 AnswerOfCurrentQuestionExpression for the expression R

Date: 25.03.13 Time: 16:39

Author
Thomas Joußen tjous.nosp@m.sen@.nosp@m.datab.nosp@m.ay.d.nosp@m.e

Definition at line 26 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

Member Function Documentation

◆ getDescription()

ilAssLacAnswerOfCurrentQuestionExpression::getDescription ( )

Get a human readable description of the Composite element.

Returns
string

Implements ilAssLacCompositeInterface.

Definition at line 77 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

77  : string
78  {
79  return "Aktuelle Frage";
80  }

◆ getPattern()

ilAssLacAnswerOfCurrentQuestionExpression::getPattern ( )
protected

Get the Pattern to match relevant informations for an Expression.

Returns
string

Definition at line 86 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

86  : string
87  {
88  return '/.+/';
89  }

◆ getQuestionIndex()

ilAssLacAnswerOfCurrentQuestionExpression::getQuestionIndex ( )

Get the question index.

Returns
int

Implements ilAssLacQuestionExpressionInterface.

Definition at line 59 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

59  : ?int
60  {
61  return null;
62  }

◆ getValue()

ilAssLacAnswerOfCurrentQuestionExpression::getValue ( )

Get the value of this Expression.

Returns
string

Implements ilAssLacExpressionInterface.

Definition at line 68 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

68  : string
69  {
70  return "R";
71  }

◆ setMatches()

ilAssLacAnswerOfCurrentQuestionExpression::setMatches (   $matches)
protected

Sets the result of the parsed value by a specific expression pattern.

See also
ExpressionInterface::parseValue()
ExpressionInterface::getPattern()
Parameters
array$matches

Definition at line 50 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

50  : void
51  {
52  }

Field Documentation

◆ $identifier

ilAssLacAnswerOfCurrentQuestionExpression::$identifier = "R"
static

◆ $pattern

ilAssLacAnswerOfCurrentQuestionExpression::$pattern = '/(R)(?=\=|<|>|\s|$)/'
static

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