Nextcloud PHP API (master)

ISearch

Interface ISearch

Tags
since
13.0.0

Table of Contents

Methods

registerPlugin()  : mixed
search()  : array<string|int, mixed>

Methods

registerPlugin()

public registerPlugin(array<string|int, mixed> $pluginInfo) : mixed
Parameters
$pluginInfo : array<string|int, mixed>

with keys 'shareType' containing the name of a corresponding constant in \OCP\Share and 'class' with the class name of the plugin

Tags
since
13.0.0
public search(string $search, array<string|int, mixed> $shareTypes, bool $lookup, int $limit, int $offset) : array<string|int, mixed>
Parameters
$search : string
$shareTypes : array<string|int, mixed>
$lookup : bool
$limit : int
$offset : int
Tags
since
13.0.0
Return values
array<string|int, mixed>

with two elements, 1st ISearchResult as array, 2nd a bool indicating whether more result are available


        
On this page

Search results