mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 22:10:45 +02:00
[ticket/16737] Rewrite acp_search index pages
PHPBB3-16737
This commit is contained in:
@@ -480,4 +480,12 @@ abstract class base implements search_backend_interface
|
||||
|
||||
return $max_post_id;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function get_type(): string
|
||||
{
|
||||
return static::class;
|
||||
}
|
||||
}
|
||||
|
@@ -1022,4 +1022,12 @@ class fulltext_sphinx implements search_backend_interface
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function get_type(): string
|
||||
{
|
||||
return static::class;
|
||||
}
|
||||
}
|
||||
|
@@ -193,4 +193,11 @@ interface search_backend_interface
|
||||
* @return array array containing template and config variables
|
||||
*/
|
||||
public function get_acp_options(): array;
|
||||
|
||||
/**
|
||||
* Gets backend class
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function get_type(): string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user