2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Handles table zoom search tab
6 * display table zoom search form, create SQL queries from form data
10 declare(strict_types
=1);
12 use PhpMyAdmin\Controllers\Table\SearchController
;
13 use Symfony\Component\DependencyInjection\Definition
;
15 if (! defined('ROOT_PATH')) {
16 define('ROOT_PATH', __DIR__
. DIRECTORY_SEPARATOR
);
21 require_once ROOT_PATH
. 'libraries/common.inc.php';
22 require_once ROOT_PATH
. 'libraries/tbl_common.inc.php';
24 /* Define dependencies for the concerned controller */
25 $dependency_definitions = [
26 'searchType' => 'zoom',
27 'url_query' => &$url_query,
30 /** @var Definition $definition */
31 $definition = $containerBuilder->getDefinition(SearchController
::class);
33 static function (string $parameterName, $value) use ($definition) {
34 $definition->replaceArgument($parameterName, $value);
36 array_keys($dependency_definitions),
37 $dependency_definitions
40 /** @var SearchController $controller */
41 $controller = $containerBuilder->get(SearchController
::class);
42 $controller->indexAction();