Merge remote-tracking branch 'origin/master'
[phpmyadmin.git] / tbl_zoom_select.php
blobf475b58a01c6ff3edbfe6ac4bd06602e6a6d8ada
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/di/Container.class.php';
17 require_once './libraries/controllers/TableSearchController.class.php';
19 use PMA\DI;
21 $container = DI\Container::getDefaultContainer();
22 $container->factory('PMA\Controllers\Table\TableSearchController');
23 $container->alias(
24 'TableSearchController', 'PMA\Controllers\Table\TableSearchController'
27 /* Define dependencies for the concerned controller */
28 $dependency_definitions = array(
29 'searchType' => 'zoom',
30 'url_query' => &$url_query
33 /** @var PMA\Controllers\Table\TableSearchController $controller */
34 $controller = $container->get('TableSearchController', $dependency_definitions);
35 $controller->indexAction();