ILIAS  release_6 Revision v6.24-5-g0c8bfefb3b8
ItemCollector.php
Go to the documentation of this file.
1<?php declare(strict_types=1);
2
4
5use LogicException;
6
12interface ItemCollector extends Collector
13{
14 public function collectStructure() : void;
15
16
17 public function filterItemsByVisibilty(bool $async_only = false) : void;
18
19
20 public function prepareItemsForUIRepresentation() : void;
21
22
26 public function getItemsForUIRepresentation() : \Generator;
27
28
34 public function hasItems() : bool;
35}
An exception for terminatinating execution or to throw for unit testing.
filterItemsByVisibilty(bool $async_only=false)