19declare(strict_types=1);
38 if (!isset($this->handled_recipients[$identifier])) {
39 $this->items[] = new \ILIAS\User\Search\DefaultAutocompleteItem(
43 $this->query->getUnprocessedSearchTerm()
46 $this->handled_recipients[$identifier] =
true;
48 return SearchResultStatus::ADDED;
51 return SearchResultStatus::DUPLICATE;
array $handled_recipients
markMoreResultsAvailable()
__construct(private readonly AutocompleteQuery $query)
addResult(string $identifier, string $firstname, string $lastname)
This class provides some pre-processing for search terms provided by a user when searching for users.