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 PhpMyAdmin\Di\Container
;
14 use PhpMyAdmin\Response
;
16 if (! defined('ROOT_PATH')) {
17 define('ROOT_PATH', __DIR__
. DIRECTORY_SEPARATOR
);
21 * Gets some core libraries
23 require_once ROOT_PATH
. 'libraries/common.inc.php';
24 require_once ROOT_PATH
. 'libraries/tbl_common.inc.php';
26 $container = Container
::getDefaultContainer();
27 $container->factory(SearchController
::class);
28 $container->set('PhpMyAdmin\Response', Response
::getInstance());
29 $container->alias('response', 'PhpMyAdmin\Response');
31 /* Define dependencies for the concerned controller */
32 $dependency_definitions = [
33 'searchType' => 'zoom',
34 'url_query' => &$url_query
37 /** @var SearchController $controller */
38 $controller = $container->get(SearchController
::class, $dependency_definitions);
39 $controller->indexAction();