ILIAS
release_8 Revision v8.19
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Public Member Functions | |
getPattern () | |
Get the Pattern to match relevant informations for an Expression. More... | |
getText () | |
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 = "/~.*?~/" |
static | $identifier = "~TEXT~" |
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... | |
setMatches ($matches) | |
Sets the result of the parsed value by a specific expression pattern. More... | |
Protected Attributes | |
$text | |
Private Member Functions | |
compare ($comperator, $value) | |
Additional Inherited Members | |
![]() | |
$nodes = array() | |
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 StringResultExpression for the expression ~TEXT~
Date: 25.03.13 Time: 16:41
Definition at line 27 of file ilAssLacStringResultExpression.php.
ilAssLacStringResultExpression::checkResult | ( | $result, | |
$comperator, | |||
$index = null |
|||
) |
ilUserQuestionResult | $result | |
string | $comperator | |
int | $index |
Implements ilAssLacSolutionExpressionInterface.
Definition at line 108 of file ilAssLacStringResultExpression.php.
References $index, and compare().
|
private |
string | $comperator | |
mixed | $value |
Definition at line 131 of file ilAssLacStringResultExpression.php.
References getText().
Referenced by checkResult().
ilAssLacStringResultExpression::getDescription | ( | ) |
Get a human readable description of the Composite element.
Implements ilAssLacCompositeInterface.
Definition at line 96 of file ilAssLacStringResultExpression.php.
ilAssLacStringResultExpression::getPattern | ( | ) |
Get the Pattern to match relevant informations for an Expression.
Definition at line 58 of file ilAssLacStringResultExpression.php.
ilAssLacStringResultExpression::getText | ( | ) |
Definition at line 78 of file ilAssLacStringResultExpression.php.
References $text.
Referenced by compare().
ilAssLacStringResultExpression::getValue | ( | ) |
Get the value of this Expression.
Implements ilAssLacExpressionInterface.
Definition at line 87 of file ilAssLacStringResultExpression.php.
|
protected |
Sets the result of the parsed value by a specific expression pattern.
array | $matches |
Definition at line 70 of file ilAssLacStringResultExpression.php.
|
static |
Definition at line 45 of file ilAssLacStringResultExpression.php.
|
static |
Definition at line 40 of file ilAssLacStringResultExpression.php.
Referenced by ilAssLacExpressionManufacturer\getPattern(), and ilAssLacExpressionManufacturer\manufacture().
|
protected |
Definition at line 52 of file ilAssLacStringResultExpression.php.
Referenced by getText().