ILIAS
release_5-1 Revision 5.0.0-5477-g43f3e3fab5f
|
Class AbstractExpression. More...
Public Member Functions | |
parseValue ($value) | |
Parses the delivered Value and sets the relevant information for an Expression as attributes. More... | |
![]() | |
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... | |
![]() | |
addNode (ilAssLacCompositeInterface $node) | |
Adds an CompositeInterface object to the node array which represents the condition tree structure. More... | |
describe () | |
Describes a Composite tree Structure as human readable string. More... | |
getDescription () | |
Get a human readable description of the Composite element. More... | |
![]() | |
getValue () | |
Get the value of this Expression. More... | |
parseValue ($value) | |
Parses the delivered Value and sets the relevant information for an Expression as attributes. More... | |
Protected Member Functions | |
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 | |
![]() | |
$nodes = array() | |
Class AbstractExpression.
Date: 25.03.13 Time: 15:42
Definition at line 13 of file ilAssLacAbstractExpression.php.
|
protected |
Get the Pattern to match relevant informations for an Expression.
Reimplemented in ilAssLacAnswerOfCurrentQuestionExpression, ilAssLacAnswerOfQuestionExpression, ilAssLacEmptyAnswerExpression, ilAssLacExclusiveResultExpression, ilAssLacMatchingResultExpression, ilAssLacOrderingResultExpression, ilAssLacResultOfAnswerOfCurrentQuestionExpression, ilAssLacResultOfAnswerOfQuestionExpression, and ilAssLacStringResultExpression.
Definition at line 20 of file ilAssLacAbstractExpression.php.
Referenced by parseValue().
ilAssLacAbstractExpression::parseValue | ( | $value | ) |
Parses the delivered Value and sets the relevant information for an Expression as attributes.
string | $value |
Implements ilAssLacExpressionInterface.
Definition at line 30 of file ilAssLacAbstractExpression.php.
References $result, getPattern(), and setMatches().
|
abstractprotected |
Sets the result of the parsed value by a specific expression pattern.
array | $matches |
Reimplemented in ilAssLacAnswerOfCurrentQuestionExpression, ilAssLacAnswerOfQuestionExpression, ilAssLacEmptyAnswerExpression, ilAssLacExclusiveResultExpression, ilAssLacMatchingResultExpression, ilAssLacNumberOfResultExpression, ilAssLacNumericResultExpression, ilAssLacOrderingResultExpression, ilAssLacPercentageResultExpression, ilAssLacResultOfAnswerOfCurrentQuestionExpression, ilAssLacResultOfAnswerOfQuestionExpression, and ilAssLacStringResultExpression.
Referenced by parseValue().