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 84e450afe6f..fe58f202d66 100644
--- a/lib/public/isearch.php
+++ b/lib/public/isearch.php
@@ -41,11 +41,12 @@ interface ISearch {
/**
* Search all providers for $query
* @param string $query
- * @param int $page
+ * @param string[] $inApps optionally limit results to the given apps
+ * @param int $page pages start at page 1
* @param int $size
* @return array An array of OCP\Search\Result's
*/
- public function searchPaged($query, $page = 0, $size = 30);
+ public function searchPaged($query, array $inApps = array(), $page = 1, $size = 30);
/**
* Register a new search provider to search with