summaryrefslogtreecommitdiffstats
path: root/lib/public/isearch.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/isearch.php')
-rw-r--r--lib/public/isearch.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/public/isearch.php b/lib/public/isearch.php
index 3b83dbf35e8..229376ed3ae 100644
--- a/lib/public/isearch.php
+++ b/lib/public/isearch.php
@@ -32,16 +32,17 @@ interface ISearch {
/**
* Search all providers for $query
* @param string $query
+ * @param string[] $inApps optionally limit results to the given apps
* @return array An array of OCP\Search\Result's
*/
- public function search($query);
+ public function search($query, array $inApps = array());
/**
* Register a new search provider to search with
* @param string $class class name of a OCP\Search\Provider
* @param array $options optional
*/
- public function registerProvider($class, $options = array());
+ public function registerProvider($class, array $options = array());
/**
* Remove one existing search provider