Blame view

sources/lib/private/search/provider.php 324 Bytes
03e52840d   Kload   Init
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);
  }