Translated using Weblate (Estonian)
[phpmyadmin.git] / tbl_zoom_select.php
blob99ba0b2d7c8f82c80682e0b86aab547121f39c2d
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 */
10 declare(strict_types=1);
12 use PhpMyAdmin\Di\Container;
13 use PhpMyAdmin\Response;
15 if (! defined('ROOT_PATH')) {
16 define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
19 /**
20 * Gets some core libraries
22 require_once ROOT_PATH . 'libraries/common.inc.php';
23 require_once ROOT_PATH . 'libraries/tbl_common.inc.php';
25 $container = Container::getDefaultContainer();
26 $container->factory('PhpMyAdmin\Controllers\Table\TableSearchController');
27 $container->alias(
28 'TableSearchController',
29 'PhpMyAdmin\Controllers\Table\TableSearchController'
31 $container->set('PhpMyAdmin\Response', Response::getInstance());
32 $container->alias('response', 'PhpMyAdmin\Response');
34 /* Define dependencies for the concerned controller */
35 $dependency_definitions = [
36 'searchType' => 'zoom',
37 'url_query' => &$url_query
40 /** @var PhpMyAdmin\Controllers\Table\TableSearchController $controller */
41 $controller = $container->get('TableSearchController', $dependency_definitions);
42 $controller->indexAction();