summaryrefslogtreecommitdiffstats
path: root/lib/search/provider.php
blob: b3ee79b477091ea14a8720f23a59f10f082c83ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?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);
}