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:
parent
3d4298fe8b
commit
4ddaddda3d
31 changed files with 1778 additions and 1 deletions
25
resource/Search.interface.php
Executable file
25
resource/Search.interface.php
Executable 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();
|
||||
}
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue