Merge remote-tracking branch 'origin/master'
[phpmyadmin.git] / tbl_zoom_select.php
blob621aa07790a4eb5df8154c33e0976c20a94756d4
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Handles table zoom search tab
6 * display table zoom search form, create SQL queries from form data
8 * @package PhpMyAdmin
9 */
11 /**
12 * Gets some core libraries
14 require_once './libraries/common.inc.php';
15 require_once 'libraries/tbl_common.inc.php';
16 require_once 'libraries/tbl_info.inc.php';
17 require_once './libraries/di/Container.class.php';
18 require_once './libraries/Response.class.php';
19 require_once './libraries/controllers/TableSearchController.class.php';
21 use PMA\DI;
23 $container = DI\Container::getDefaultContainer();
24 $container->factory('PMA\Controllers\Table\TableSearchController');
25 $container->alias(
26 'TableSearchController', 'PMA\Controllers\Table\TableSearchController'
28 $container->set('PMA_Response', PMA_Response::getInstance());
29 $container->alias('response', 'PMA_Response');
31 /* Define dependencies for the concerned controller */
32 $dependency_definitions = array(
33 'searchType' => 'zoom',
34 'url_query' => &$url_query
37 /** @var PMA\Controllers\Table\TableSearchController $controller */
38 $controller = $container->get('TableSearchController', $dependency_definitions);
39 $controller->indexAction();