Translated using Weblate (Norwegian Bokmål)
[phpmyadmin.git] / tbl_find_replace.php
blobdd2248d32e996d4195a062cd4eccf94f44f087fb
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Handles find and replace tab
6 * Displays find and replace form, allows previewing and do the replacing
8 * @package PhpMyAdmin
9 */
10 use PMA\libraries\Response;
12 /**
13 * Gets some core libraries
15 require_once 'libraries/common.inc.php';
16 require_once 'libraries/tbl_common.inc.php';
17 require_once 'libraries/tbl_info.inc.php';
19 $container = \PMA\libraries\di\Container::getDefaultContainer();
20 $container->factory('PMA\libraries\controllers\table\TableSearchController');
21 $container->alias(
22 'TableSearchController', 'PMA\libraries\controllers\table\TableSearchController'
24 $container->set('PMA\libraries\Response', Response::getInstance());
25 $container->alias('response', 'PMA\libraries\Response');
27 $dependency_definitions = array(
28 'searchType' => 'replace',
29 'url_query' => &$url_query
32 /** @var PMA\libraries\controllers\table\TableSearchController $controller */
33 $controller = $container->get('TableSearchController', $dependency_definitions);
34 $controller->indexAction();