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
13 * Gets some core libraries
15 require_once 'libraries/common.inc.php';
16 require_once 'libraries/tbl_common.inc.php';
17 require_once 'libraries/tbl_info.inc.php';
18 require_once 'libraries/di/Container.class.php';
19 require_once 'libraries/Response.class.php';
20 require_once 'libraries/controllers/TableSearchController.class.php';
24 $container = DI\Container
::getDefaultContainer();
25 $container->factory('PMA\Controllers\Table\TableSearchController');
27 'TableSearchController', 'PMA\Controllers\Table\TableSearchController'
29 $container->set('PMA_Response', PMA_Response
::getInstance());
30 $container->alias('response', 'PMA_Response');
32 /* Define dependencies for the concerned controller */
33 $dependency_definitions = array(
34 'searchType' => 'normal',
35 'url_query' => &$url_query
38 /** @var PMA\Controllers\TableSearchController $controller */
39 $controller = $container->get('TableSearchController', $dependency_definitions);
40 $controller->indexAction();