ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
ItemCollector.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
23use LogicException;
24use Generator;
25
30interface ItemCollector extends Collector
31{
32 public function collectStructure(): void;
33
34 public function filterItemsByVisibilty(bool $async_only = false): void;
35
36 public function prepareItemsForUIRepresentation(): void;
37
41 public function getItemsForUIRepresentation(): Generator;
42
47 public function hasItems(): bool;
48
49 public function hasVisibleItems(): bool;
50}
filterItemsByVisibilty(bool $async_only=false)
@noinspection PhpIncompatibleReturnTypeInspection