1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-12 03:34:04 +02:00

[ticket/15540] Display only available search backends

PHPBB3-15540
This commit is contained in:
rubencm
2021-03-22 17:51:51 +01:00
parent 911a31d898
commit 457c750773
6 changed files with 74 additions and 36 deletions

View File

@@ -22,6 +22,13 @@ interface search_backend_interface
*/
public function get_name();
/**
* Returns if the search engine is available
*
* @return bool
*/
public function is_available();
/**
* Returns the search_query
*
@@ -142,7 +149,7 @@ interface search_backend_interface
/**
* Returns an associative array containing information about the indexes
*
* @return array|bool Language string of error false otherwise
* @return array|false Language string of error false otherwise
*/
public function index_stats();