Merge pull request #611 from MatthewVita/vitals_form_misplaced_quote
[openemr.git] / phpmyadmin / tbl_select.php
blobcb4e195582c16649de86959445e1773910438aab
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Handles table search tab
6 * display table search form, create SQL query from form data
7 * and call PMA_executeQueryAndSendQueryResponse() to execute it
9 * @package PhpMyAdmin
12 /**
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';
22 use PMA\DI;
24 $container = DI\Container::getDefaultContainer();
25 $container->factory('PMA\Controllers\Table\TableSearchController');
26 $container->alias(
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();