ILIAS  release_7 Revision v7.30-3-g800a261c036
ItemCollector.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
21
22use LogicException;
23use Generator;
24
29interface ItemCollector extends Collector
30{
31 public function collectStructure() : void;
32
33 public function filterItemsByVisibilty(bool $async_only = false) : void;
34
35 public function prepareItemsForUIRepresentation() : void;
36
40 public function getItemsForUIRepresentation() : Generator;
41
46 public function hasItems() : bool;
47
48 public function hasVisibleItems() : bool;
49}
An exception for terminatinating execution or to throw for unit testing.
filterItemsByVisibilty(bool $async_only=false)
@noinspection PhpIncompatibleReturnTypeInspection