ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
SearcherInterface.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
28
30{
35
45 public function getFilter(
46 int|Placeholder $obj_id = Placeholder::ANY,
47 int|Placeholder $sub_id = Placeholder::ANY,
48 string|Placeholder $type = Placeholder::ANY
50
57 public function execute(
58 ClauseInterface $clause,
59 ?int $limit,
60 ?int $offset,
61 FilterInterface ...$filters
62 ): \Generator;
63}
getFilter(int|Placeholder $obj_id=Placeholder::ANY, int|Placeholder $sub_id=Placeholder::ANY, string|Placeholder $type=Placeholder::ANY)
Get a filter with which the results of a search can be restricted.
getClauseFactory()
Get a factory where you can assemble your search clause.
execute(ClauseInterface $clause, ?int $limit, ?int $offset, FilterInterface ... $filters)
Results are always ordered first by obj_id, then sub_id, then type.