ILIAS
release_5-3 Revision v5.3.23-19-g915713cf615
|
Class NumberOfResultExpression fot the expression +n+. More...
Public Member Functions | |
getNumericValue () | |
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]+\\+/" |
static | $identifier = "+n+" |
Protected Member Functions | |
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 | |
$numeric_value | |
Private Member Functions | |
compare ($comperator, $value) | |
Additional Inherited Members | |
Data Fields inherited from ilAssLacAbstractComposite | |
$nodes = array() | |
Class NumberOfResultExpression fot the expression +n+.
Date: 25.03.13 Time: 16:41
Definition at line 13 of file ilAssLacNumberOfResultExpression.php.
ilAssLacNumberOfResultExpression::checkResult | ( | $result, | |
$comperator, | |||
$index = null |
|||
) |
ilUserQuestionResult | $result | |
string | $comperator | |
null | int | $index |
Implements ilAssLacSolutionExpressionInterface.
Definition at line 85 of file ilAssLacNumberOfResultExpression.php.
References $index, $result, and compare().
|
private |
Definition at line 102 of file ilAssLacNumberOfResultExpression.php.
References getNumericValue().
Referenced by checkResult().
ilAssLacNumberOfResultExpression::getDescription | ( | ) |
Get a human readable description of the Composite element.
Implements ilAssLacCompositeInterface.
Definition at line 73 of file ilAssLacNumberOfResultExpression.php.
ilAssLacNumberOfResultExpression::getNumericValue | ( | ) |
Definition at line 55 of file ilAssLacNumberOfResultExpression.php.
References $numeric_value.
Referenced by compare().
ilAssLacNumberOfResultExpression::getValue | ( | ) |
Get the value of this Expression.
Implements ilAssLacExpressionInterface.
Definition at line 64 of file ilAssLacNumberOfResultExpression.php.
|
protected |
Sets the result of the parsed value by a specific expression pattern.
array | $matches |
Definition at line 47 of file ilAssLacNumberOfResultExpression.php.
|
static |
Definition at line 31 of file ilAssLacNumberOfResultExpression.php.
|
protected |
Definition at line 38 of file ilAssLacNumberOfResultExpression.php.
Referenced by getNumericValue().
|
static |
Definition at line 26 of file ilAssLacNumberOfResultExpression.php.
Referenced by ilAssLacExpressionManufacturer\getPattern(), and ilAssLacExpressionManufacturer\manufacture().