nextcloud/lib/search/provider.php

19 lines
323 B
PHP
Raw Normal View History

2011-07-29 23:03:53 +04:00
<?php
/**
* provides search functionalty
*/
2012-07-20 20:56:18 +04:00
abstract class OC_Search_Provider {
private $options;
2012-08-29 10:38:33 +04:00
2012-07-20 20:56:18 +04:00
public function __construct($options){
$this->options=$options;
}
2012-08-29 10:38:33 +04:00
2011-07-29 23:03:53 +04:00
/**
* search for $query
* @param string $query
* @return array An array of OC_Search_Result's
*/
2012-07-20 20:56:18 +04:00
abstract public function search($query);
2011-07-29 23:03:53 +04:00
}