19 declare(strict_types=1);
47 SearchFilterFactory $search_filter_factory,
64 int ...$further_entry_ids
66 $path_to_copyright = $this->path_factory->custom()
67 ->withNextStep(
'rights')
68 ->withNextStep(
'description')
69 ->withNextStep(
'string')
72 $copyright_search_clauses = [];
73 foreach ([$first_entry_id, ...$further_entry_ids] as $entry_id) {
74 $copyright_search_clauses[] = $this->search_clause_factory->getBasicClause(
77 $this->copyright_identifier_handler->buildIdentifierFromEntryID($entry_id)
80 $full_search_clause = $this->search_clause_factory->getJoinedClauses(
82 ...$copyright_search_clauses
86 foreach ($this->types as $type) {
87 $filters[] = $this->search_filter_factory->get(
93 if (empty($filters) && $this->restricted_to_repo_objects) {
94 $filters[] = $this->search_filter_factory->get(
101 yield
from $lom_repository->searchMD($full_search_clause,
null,
null, ...$filters);
106 $clone = clone $this;
107 $clone->restricted_to_repo_objects = $restricted;
113 $clone = clone $this;
114 $clone->types[] = $type;
while($session_entry=$r->fetchRow(ilDBConstants::FETCHMODE_ASSOC)) return null