2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Handles table search tab
6 * display table search form, create SQL query from form data
7 * and call Sql::executeQueryAndSendQueryResponse() to execute it
12 use PhpMyAdmin\Controllers\Table\TableSearchController
;
13 use PhpMyAdmin\Di\Container
;
14 use PhpMyAdmin\Response
;
17 * Gets some core libraries
19 require_once 'libraries/common.inc.php';
20 require_once 'libraries/tbl_common.inc.php';
22 $container = Container
::getDefaultContainer();
23 $container->factory('PhpMyAdmin\Controllers\Table\TableSearchController');
25 'TableSearchController', 'PhpMyAdmin\Controllers\Table\TableSearchController'
27 $container->set('PhpMyAdmin\Response', Response
::getInstance());
28 $container->alias('response', 'PhpMyAdmin\Response');
30 /* Define dependencies for the concerned controller */
31 $dependency_definitions = array(
32 'searchType' => 'normal',
33 'url_query' => &$url_query
36 /** @var TableSearchController $controller */
37 $controller = $container->get('TableSearchController', $dependency_definitions);
38 $controller->indexAction();