mirror of
https://github.com/nextcloud/server.git
synced 2024-09-10 15:16:45 +02:00
19 lines
324 B
PHP
19 lines
324 B
PHP
<?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);
|
|
}
|