Nextcloud PHP API (master)

IManager

Interface IManager

Tags
since
13.0.0

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
since
13.0.0

runSorters()

public runSorters(array<string|int, mixed> $sorters, array<string|int, mixed> &$sortArray, array<string|int, mixed> $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<string|int, mixed>

context info of the search, keys: itemType, itemId

Tags
since
13.0.0

        
On this page

Search results