aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Collaboration/Collaborators/ISearchPlugin.php
blob: e55a095e2b6936aab539e05b3375cc399a52bd53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php

/**
 * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
 * SPDX-License-Identifier: AGPL-3.0-or-later
 */
namespace OCP\Collaboration\Collaborators;

/**
 * Interface ISearchPlugin
 *
 * @since 13.0.0
 */
interface ISearchPlugin {
	/**
	 * @param string $search
	 * @param int $limit
	 * @param int $offset
	 * @param ISearchResult $searchResult
	 * @return bool whether the plugin has more results
	 * @since 13.0.0
	 */
	public function search($search, $limit, $offset, ISearchResult $searchResult);
}