ILIAS
trunk Revision v11.0_alpha-1749-g1a06bdef097
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. 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) | |
![]() | |
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... | |
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... | |
![]() | |
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 | |
![]() | |
$nodes = [] | |
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 MatchingResultExpression for the expression ;n:m;
Date: 25.03.13 Time: 16:41
Definition at line 26 of file ilAssLacMatchingResultExpression.php.
ilAssLacMatchingResultExpression::checkResult | ( | $result, | |
$comperator, | |||
$index = null |
|||
) |
ilUserQuestionResult | $result | |
string | $comperator | |
null | int | $index |
Implements ilAssLacSolutionExpressionInterface.
Definition at line 120 of file ilAssLacMatchingResultExpression.php.
References compare().
|
private |
string | $comperator | |
int | $left | |
int | $right |
Definition at line 137 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 108 of file ilAssLacMatchingResultExpression.php.
ilAssLacMatchingResultExpression::getLeftNumericValue | ( | ) |
Definition at line 90 of file ilAssLacMatchingResultExpression.php.
References $left_numeric_value.
Referenced by compare().
|
protected |
Definition at line 61 of file ilAssLacMatchingResultExpression.php.
ilAssLacMatchingResultExpression::getRightNumericValue | ( | ) |
Definition at line 82 of file ilAssLacMatchingResultExpression.php.
References $right_numeric_value.
Referenced by compare().
ilAssLacMatchingResultExpression::getValue | ( | ) |
Get the value of this Expression.
Implements ilAssLacExpressionInterface.
Definition at line 99 of file ilAssLacMatchingResultExpression.php.
|
protected |
Sets the result of the parsed value by a specific expression pattern.
array | $matches |
Definition at line 73 of file ilAssLacMatchingResultExpression.php.
|
static |
Definition at line 45 of file ilAssLacMatchingResultExpression.php.
|
protected |
Definition at line 52 of file ilAssLacMatchingResultExpression.php.
Referenced by getLeftNumericValue().
|
static |
Definition at line 40 of file ilAssLacMatchingResultExpression.php.
Referenced by ilAssLacExpressionManufacturer\getPattern(), and ilAssLacExpressionManufacturer\manufacture().
|
protected |
Definition at line 59 of file ilAssLacMatchingResultExpression.php.
Referenced by getRightNumericValue().