Nextcloud PHP API (stable18)

IManager

Interface IManager

Tags
since
13.0.0

Table of Contents

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
Return values
mixed

runSorters()

public runSorters(array $sorters, array &$sortArray, array $context) : mixed
Parameters
$sorters : array

list of sorter IDs, seperated by "|"

$sortArray : array

array representation of OCP\Collaboration\Collaborators\ISearchResult

$context : array

context info of the search, keys: itemType, itemId

Tags
since
13.0.0
Return values
mixed

Search results