Merge pull request #15404 from jfcherng/fix-php74-curly-braces
[phpmyadmin.git] / tbl_zoom_select.php
blob5d73a6460edccffd53d313baaf0550e248781441
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 use PhpMyAdmin\Di\Container;
12 use PhpMyAdmin\Response;
14 /**
15 * Gets some core libraries
17 require_once './libraries/common.inc.php';
18 require_once 'libraries/tbl_common.inc.php';
20 $container = Container::getDefaultContainer();
21 $container->factory('PhpMyAdmin\Controllers\Table\TableSearchController');
22 $container->alias(
23 'TableSearchController', 'PhpMyAdmin\Controllers\Table\TableSearchController'
25 $container->set('PhpMyAdmin\Response', Response::getInstance());
26 $container->alias('response', 'PhpMyAdmin\Response');
28 /* Define dependencies for the concerned controller */
29 $dependency_definitions = array(
30 'searchType' => 'zoom',
31 'url_query' => &$url_query
34 /** @var PhpMyAdmin\Controllers\Table\TableSearchController $controller */
35 $controller = $container->get('TableSearchController', $dependency_definitions);
36 $controller->indexAction();