ISearch
in
Interface ISearch
Tags
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
search()
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
Return values
array<string|int, mixed> —with two elements, 1st ISearchResult as array, 2nd a bool indicating whether more result are available