2017-08-31 16:47:02 -04:00
|
|
|
<?php
|
2025-06-30 09:04:05 -04:00
|
|
|
|
2017-08-31 16:47:02 -04:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-or-later
|
2017-08-31 16:47:02 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Collaboration\Collaborators;
|
|
|
|
|
|
2017-09-05 16:14:15 -04:00
|
|
|
/**
|
|
|
|
|
* Interface ISearchPlugin
|
|
|
|
|
*
|
|
|
|
|
* @since 13.0.0
|
|
|
|
|
*/
|
2017-08-31 16:47:02 -04:00
|
|
|
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);
|
|
|
|
|
}
|