Merge remote-tracking branch 'origin/master'
[phpmyadmin.git] / tbl_zoom_select.php
blobd3be0762d71f8c86b6d74d47fe311345ed508091
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';
18 $container = \PMA\libraries\di\Container::getDefaultContainer();
19 $container->factory('PMA\libraries\controllers\table\TableSearchController');
20 $container->alias(
21 'TableSearchController', 'PMA\libraries\controllers\table\TableSearchController'
23 $container->set('PMA\libraries\Response', PMA\libraries\Response::getInstance());
24 $container->alias('response', 'PMA\libraries\Response');
26 /* Define dependencies for the concerned controller */
27 $dependency_definitions = array(
28 'searchType' => 'zoom',
29 'url_query' => &$url_query
32 /** @var PMA\libraries\controllers\table\TableSearchController $controller */
33 $controller = $container->get('TableSearchController', $dependency_definitions);
34 $controller->indexAction();