provider.php 323 B

12345678910111213141516171819
  1. <?php
  2. /**
  3. * provides search functionalty
  4. */
  5. abstract class OC_Search_Provider {
  6. private $options;
  7. public function __construct($options){
  8. $this->options=$options;
  9. }
  10. /**
  11. * search for $query
  12. * @param string $query
  13. * @return array An array of OC_Search_Result's
  14. */
  15. abstract public function search($query);
  16. }