nextcloud/lib/search/provider.php

19 lines
325 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;
public function __construct($options){
$this->options=$options;
}
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
}