Translated using Weblate (Norwegian Nynorsk)
[phpmyadmin.git] / tbl_select.php
blob2a1f6e7754cfad4d319917b2fc27e38a8d42d8cc
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Handles table search tab
6 * display table search form, create SQL query from form data
7 * and call Sql::executeQueryAndSendQueryResponse() to execute it
9 * @package PhpMyAdmin
12 use PhpMyAdmin\Controllers\Table\TableSearchController;
13 use PhpMyAdmin\Di\Container;
14 use PhpMyAdmin\Response;
16 /**
17 * Gets some core libraries
19 require_once 'libraries/common.inc.php';
20 require_once 'libraries/tbl_common.inc.php';
22 $container = Container::getDefaultContainer();
23 $container->factory('PhpMyAdmin\Controllers\Table\TableSearchController');
24 $container->alias(
25 'TableSearchController', 'PhpMyAdmin\Controllers\Table\TableSearchController'
27 $container->set('PhpMyAdmin\Response', Response::getInstance());
28 $container->alias('response', 'PhpMyAdmin\Response');
30 /* Define dependencies for the concerned controller */
31 $dependency_definitions = array(
32 'searchType' => 'normal',
33 'url_query' => &$url_query
36 /** @var TableSearchController $controller */
37 $controller = $container->get('TableSearchController', $dependency_definitions);
38 $controller->indexAction();