|
ILIAS
release_8 Revision v8.24
|
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Learning e.V. More...
Collaboration diagram for ilAssLacCompositeBuilder:Public Member Functions | |
| __construct () | |
| Construct requirements. More... | |
| create (array $nodes) | |
| Creates a composite tree structure from a nodes tree. More... | |
Protected Attributes | |
| $operators = array('<=','<','=','>=','>','<>','&','|') | |
Private Member Functions | |
| getExpression (array $node, $index) | |
| Manufacure an expression from the delivered node and the index. More... | |
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 CompositeBuilder
Date: 27.03.13 Time: 12:18
Definition at line 26 of file ilAssLacCompositeBuilder.php.
| ilAssLacCompositeBuilder::__construct | ( | ) |
Construct requirements.
Definition at line 39 of file ilAssLacCompositeBuilder.php.
| ilAssLacCompositeBuilder::create | ( | array | $nodes | ) |
Creates a composite tree structure from a nodes tree.
May fail on malformed input, e.g. because not all operators could be handled. So ensure only to call this function with well-formed input data or be prepared to handle type exceptions.
| array | $nodes | an array structure of parsed nodes as returned by ilAssLacConditionParser::createNodeArray(), with type 'group'. |
| ilAssLacCompositeBuilderException | in some cases of invalid input. |
Definition at line 62 of file ilAssLacCompositeBuilder.php.
References $i, $index, ILIAS\LTI\ToolProvider\$key, ilAssLacOperationManufacturer\_getInstance(), create(), and getExpression().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Manufacure an expression from the delivered node and the index.
If an expression already exist in the node for
for the delivered index, this function will return the existing expression
| array | $node | |
| int | $index |
Definition at line 109 of file ilAssLacCompositeBuilder.php.
References $index, and ilAssLacExpressionManufacturer\_getInstance().
Referenced by create().
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 34 of file ilAssLacCompositeBuilder.php.