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\Di\Container
;
13 use PhpMyAdmin\Response
;
15 if (! defined('ROOT_PATH')) {
16 define('ROOT_PATH', __DIR__
. DIRECTORY_SEPARATOR
);
20 * Gets some core libraries
22 require_once ROOT_PATH
. 'libraries/common.inc.php';
23 require_once ROOT_PATH
. 'libraries/tbl_common.inc.php';
25 $container = Container
::getDefaultContainer();
26 $container->factory('PhpMyAdmin\Controllers\Table\TableSearchController');
28 'TableSearchController',
29 'PhpMyAdmin\Controllers\Table\TableSearchController'
31 $container->set('PhpMyAdmin\Response', Response
::getInstance());
32 $container->alias('response', 'PhpMyAdmin\Response');
34 /* Define dependencies for the concerned controller */
35 $dependency_definitions = [
36 'searchType' => 'zoom',
37 'url_query' => &$url_query
40 /** @var PhpMyAdmin\Controllers\Table\TableSearchController $controller */
41 $controller = $container->get('TableSearchController', $dependency_definitions);
42 $controller->indexAction();