server/lib/search/provider.php
2011-07-29 21:36:03 +02:00

16 lines
298 B
PHP

<?php
/**
* provides search functionalty
*/
abstract class OC_Search_Provider{
public function __construct(){
OC_Search::registerProvider($this);
}
/**
* search for $query
* @param string $query
* @return array An array of OC_Search_Result's
*/
abstract function search($query);
}