ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
ilAssLacAnswerOfCurrentQuestionExpression Class Reference

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

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 13 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 65 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

66  {
67  return "Aktuelle Frage";
68  }

◆ getPattern()

ilAssLacAnswerOfCurrentQuestionExpression::getPattern ( )
protected

Get the Pattern to match relevant informations for an Expression.

Returns
string

Definition at line 74 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

75  {
76  return '/.+/';
77  }

◆ getQuestionIndex()

ilAssLacAnswerOfCurrentQuestionExpression::getQuestionIndex ( )

Get the question index.

Returns
int

Implements ilAssLacQuestionExpressionInterface.

Definition at line 47 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

48  {
49  return null;
50  }

◆ getValue()

ilAssLacAnswerOfCurrentQuestionExpression::getValue ( )

Get the value of this Expression.

Returns
string

Implements ilAssLacExpressionInterface.

Definition at line 56 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

57  {
58  return "R";
59  }

◆ 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 38 of file ilAssLacAnswerOfCurrentQuestionExpression.php.

39  {
40  }

Field Documentation

◆ $identifier

ilAssLacAnswerOfCurrentQuestionExpression::$identifier = "R"
static

◆ $pattern

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

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