ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class MatchingResultExpression for the expression ;n:m;. More...
Public Member Functions | |
getRightNumericValue () | |
getLeftNumericValue () | |
getValue () | |
Get the value of this Expression. More... | |
getDescription () | |
Get a human readable description of the Composite element. More... | |
checkResult ($result, $comperator, $index=null) | |
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 = "/;[0-9]+:[0-9]+;/" |
static | $identifier = ";n:m;" |
Protected Member Functions | |
getPattern () | |
setMatches ($matches) | |
Sets the result of the parsed value by a specific expression pattern. 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... | |
Protected Attributes | |
$left_numeric_value | |
$right_numeric_value | |
Private Member Functions | |
compare ($comperator, $left, $right) | |
Additional Inherited Members | |
Data Fields inherited from ilAssLacAbstractComposite | |
$nodes = array() | |
Class MatchingResultExpression for the expression ;n:m;.
Date: 25.03.13 Time: 16:41
Definition at line 13 of file ilAssLacMatchingResultExpression.php.
ilAssLacMatchingResultExpression::checkResult | ( | $result, | |
$comperator, | |||
$index = null |
|||
) |
ilUserQuestionResult | $result | |
string | $comperator | |
null | int | $index |
Implements ilAssLacSolutionExpressionInterface.
Definition at line 107 of file ilAssLacMatchingResultExpression.php.
References $result, and compare().
|
private |
string | $comperator | |
int | $left | |
int | $right |
Definition at line 124 of file ilAssLacMatchingResultExpression.php.
References getLeftNumericValue(), and getRightNumericValue().
Referenced by checkResult().
ilAssLacMatchingResultExpression::getDescription | ( | ) |
Get a human readable description of the Composite element.
Implements ilAssLacCompositeInterface.
Definition at line 95 of file ilAssLacMatchingResultExpression.php.
ilAssLacMatchingResultExpression::getLeftNumericValue | ( | ) |
Definition at line 77 of file ilAssLacMatchingResultExpression.php.
References $left_numeric_value.
Referenced by compare().
|
protected |
Definition at line 48 of file ilAssLacMatchingResultExpression.php.
ilAssLacMatchingResultExpression::getRightNumericValue | ( | ) |
Definition at line 69 of file ilAssLacMatchingResultExpression.php.
References $right_numeric_value.
Referenced by compare().
ilAssLacMatchingResultExpression::getValue | ( | ) |
Get the value of this Expression.
Implements ilAssLacExpressionInterface.
Definition at line 86 of file ilAssLacMatchingResultExpression.php.
|
protected |
Sets the result of the parsed value by a specific expression pattern.
array | $matches |
Definition at line 60 of file ilAssLacMatchingResultExpression.php.
|
static |
Definition at line 32 of file ilAssLacMatchingResultExpression.php.
|
protected |
Definition at line 39 of file ilAssLacMatchingResultExpression.php.
Referenced by getLeftNumericValue().
|
static |
Definition at line 27 of file ilAssLacMatchingResultExpression.php.
Referenced by ilAssLacExpressionManufacturer\getPattern(), and ilAssLacExpressionManufacturer\manufacture().
|
protected |
Definition at line 46 of file ilAssLacMatchingResultExpression.php.
Referenced by getRightNumericValue().