diff options
Diffstat (limited to 'lib/private/search/provider.php')
-rw-r--r-- | lib/private/search/provider.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/private/search/provider.php b/lib/private/search/provider.php new file mode 100644 index 00000000000..b617b9c5d94 --- /dev/null +++ b/lib/private/search/provider.php @@ -0,0 +1,18 @@ +<?php +/** + * provides search functionalty + */ +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 + */ + abstract public function search($query); +} |