ISearch

interface OCP\Collaboration\Collaborators\ISearch
Interface ISearch
Implemented by:OC\Collaboration\Collaborators\Search
Source:lib/public/Collaboration/Collaborators/ISearch.php#31

Methods

public OCP\Collaboration\Collaborators\ISearch::search($search, $shareTypes, $lookup, $limit, $offset)
Source:

lib/public/Collaboration/Collaborators/ISearch.php#41

Parameters:
  • $search (string)
  • $shareTypes (array)
  • $lookup (bool)
  • $limit (int)
  • $offset (int)
Returns:

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

Since:

13.0.0

public OCP\Collaboration\Collaborators\ISearch::registerPlugin($pluginInfo)
Source:

lib/public/Collaboration/Collaborators/ISearch.php#48

Parameters:
  • $pluginInfo (array) with keys ‘shareType’ containing the name of a corresponding constant in OCPShare and

‘class’ with the class name of the plugin

Since:

13.0.0