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 PMA_executeQueryAndSendQueryResponse() to execute it
11 use PMA\libraries\Response
;
14 * Gets some core libraries
16 require_once 'libraries/common.inc.php';
17 require_once 'libraries/tbl_common.inc.php';
18 require_once 'libraries/tbl_info.inc.php';
20 use PMA\libraries\controllers\table\TableSearchController
;
22 $container = \PMA\libraries\di\Container
::getDefaultContainer();
23 $container->factory('PMA\libraries\controllers\table\TableSearchController');
25 'TableSearchController', 'PMA\libraries\controllers\table\TableSearchController'
27 $container->set('PMA\libraries\Response', Response
::getInstance());
28 $container->alias('response', 'PMA\libraries\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();