ISearchPlugin.php 532 B

1234567891011121314151617181920212223
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Collaboration\Collaborators;
  7. /**
  8. * Interface ISearchPlugin
  9. *
  10. * @since 13.0.0
  11. */
  12. interface ISearchPlugin {
  13. /**
  14. * @param string $search
  15. * @param int $limit
  16. * @param int $offset
  17. * @param ISearchResult $searchResult
  18. * @return bool whether the plugin has more results
  19. * @since 13.0.0
  20. */
  21. public function search($search, $limit, $offset, ISearchResult $searchResult);
  22. }