0.9.0 - the ZapV version updated to current php standards. Brave search used, while Bing and Google search api are deprecated

This commit is contained in:
Fabian de Boer 2026-07-15 13:57:05 +02:00
commit 4ddaddda3d
31 changed files with 1778 additions and 1 deletions

25
resource/Search.interface.php Executable file
View file

@ -0,0 +1,25 @@
<?php
/**
* Interface for search engine implementations
*/
interface Search {
/**
* Set query word to search for
* @param string $word
*/
public function setQuery($word);
/**
* Set additional parameters
* @param string $key
* @param string $value
*/
public function setParam($key, $value);
/**
* Get received data as array
* @return array
*/
public function getData();
}
?>