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