ILIAS  trunk Revision v11.0_alpha-2638-g80c1d007f79
NodeRetrieval.php
Go to the documentation of this file.
1 <?php
2 
19 
22 
26 interface NodeRetrieval
27 {
41  public function getNodes(
42  NodeFactory $node_factory,
43  IconFactory $icon_factory,
44  ?string $parent_id = null,
45  ): \Generator;
46 
55  public function getNodesAsLeaf(
56  NodeFactory $node_factory,
57  IconFactory $icon_factory,
58  array $node_ids,
59  ): \Generator;
60 }
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null
This is how a factory for icons looks like.
Definition: Factory.php:26
getNodesAsLeaf(NodeFactory $node_factory, IconFactory $icon_factory, array $node_ids,)
This method will be called by the UI framework in order to retrieve Leaf instances for provided/submi...
getNodes(NodeFactory $node_factory, IconFactory $icon_factory, ?string $parent_id=null,)
This method will be called by the tree select input and multi tree select input to generate the tree ...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
Definition: Async.php:18