ISearch
Interface ISearch
Tags
Table of Contents
- registerPlugin() : mixed
- search() : array
Methods
registerPlugin()
public
registerPlugin(array $pluginInfo) : mixed
Parameters
- $pluginInfo : array
-
with keys 'shareType' containing the name of a corresponding constant in \OCP\Share and 'class' with the class name of the plugin
Tags
Return values
mixed —search()
public
search(string $search, array $shareTypes, bool $lookup, int $limit, int $offset) : array
Parameters
- $search : string
- $shareTypes : array
- $lookup : bool
- $limit : int
- $offset : int
Tags
Return values
array —with two elements, 1st ISearchResult as array, 2nd a bool indicating whether more result are available