diff options
Diffstat (limited to 'lib/public/isearch.php')
-rw-r--r-- | lib/public/isearch.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/isearch.php b/lib/public/isearch.php index fe25d5b49f7..bb7ada86e31 100644 --- a/lib/public/isearch.php +++ b/lib/public/isearch.php @@ -28,6 +28,7 @@ namespace OCP; /** * Small Interface for Search + * @since 7.0.0 */ interface ISearch { @@ -37,6 +38,7 @@ interface ISearch { * @param string[] $inApps optionally limit results to the given apps * @return array An array of OCP\Search\Result's * @deprecated use searchPaged() with page and size + * @since 7.0.0 - parameter $inApps was added in 8.0.0 */ public function search($query, array $inApps = array()); @@ -47,6 +49,7 @@ interface ISearch { * @param int $page pages start at page 1 * @param int $size * @return array An array of OCP\Search\Result's + * @since 8.0.0 */ public function searchPaged($query, array $inApps = array(), $page = 1, $size = 30); @@ -54,17 +57,20 @@ interface ISearch { * Register a new search provider to search with * @param string $class class name of a OCP\Search\Provider * @param array $options optional + * @since 7.0.0 */ public function registerProvider($class, array $options = array()); /** * Remove one existing search provider * @param string $provider class name of a OCP\Search\Provider + * @since 7.0.0 */ public function removeProvider($provider); /** * Remove all registered search providers + * @since 7.0.0 */ public function clearProviders(); |