IManager
in
Interface IManager
Tags
Table of Contents
Methods
- registerSorter() : mixed
- runSorters() : mixed
Methods
registerSorter()
public
registerSorter(string $className) : mixed
Parameters
- $className : string
-
– class name of the ISorter implementation
Tags
runSorters()
public
runSorters(array<string|int, mixed> $sorters, array<string|int, mixed> &$sortArray, array{itemType: string, itemId: string, search?: string} $context) : mixed
Parameters
- $sorters : array<string|int, mixed>
-
list of sorter IDs, separated by "|"
- $sortArray : array<string|int, mixed>
-
array representation of OCP\Collaboration\Collaborators\ISearchResult
- $context : array{itemType: string, itemId: string, search?: string}
-
context info of the search