blob: cc586b92d7d9c877ce1739b16b96b6c35a14ae72 (
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
25
26
27
|
<?php
/**
* SPDX-FileCopyrightText: 2017 Nextcloud GmbH and Nextcloud contributors
* SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OCP\Collaboration\AutoComplete;
/**
* Interface IManager
*
* @since 13.0.0
*/
interface IManager {
/**
* @param string $className – class name of the ISorter implementation
* @since 13.0.0
*/
public function registerSorter($className);
/**
* @param array $sorters list of sorter IDs, separated by "|"
* @param array $sortArray array representation of OCP\Collaboration\Collaborators\ISearchResult
* @param array $context context info of the search, keys: itemType, itemId
* @since 13.0.0
*/
public function runSorters(array $sorters, array &$sortArray, array $context);
}
|