aboutsummaryrefslogtreecommitdiffstats
path: root/lib/search/provider.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/search/provider.php')
-rw-r--r--lib/search/provider.php10
1 files changed, 7 insertions, 3 deletions
diff --git a/lib/search/provider.php b/lib/search/provider.php
index 838ab696d04..b3ee79b4770 100644
--- a/lib/search/provider.php
+++ b/lib/search/provider.php
@@ -2,13 +2,17 @@
/**
* provides search functionalty
*/
-class OC_Search_Provider {
- public function __construct($options){}
+abstract class OC_Search_Provider {
+ private $options;
+
+ public function __construct($options){
+ $this->options=$options;
+ }
/**
* search for $query
* @param string $query
* @return array An array of OC_Search_Result's
*/
- public function search($query){}
+ abstract public function search($query);
}