File

class OC\Search\Provider\File
Provide search results from the ‘files’ app
Source:lib/private/Search/Provider/File.php#46
Parent:OCP\Search\PagedProvider

Methods

public OC\Search\Provider\File::search($query, $limit=null, $offset=null)
Search for files and folders matching the given query
Source:

lib/private/Search/Provider/File.php#57

Parameters:
  • $query (string)
  • $limit (int | null)
  • $offset (int | null)
Returns:

\OCP\Search\Result[]

Deprecated:

20.0.0

public OC\Search\Provider\File::searchPaged($query, $page, $size)
Source:lib/private/Search/Provider/File.php#103