server/lib/search/provider.php
2012-09-07 15:22:01 +02:00

18 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);
}