Translated using Weblate (German)
[phpmyadmin.git] / tbl_find_replace.php
blob1b7d38011d7c859bb959f16da3758e7f53a0f9b9
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 declare(strict_types=1);
12 use PhpMyAdmin\Di\Container;
13 use PhpMyAdmin\Response;
15 /**
16 * Gets some core libraries
18 require_once 'libraries/common.inc.php';
19 require_once 'libraries/tbl_common.inc.php';
21 $container = Container::getDefaultContainer();
22 $container->factory('PhpMyAdmin\Controllers\Table\TableSearchController');
23 $container->alias(
24 'TableSearchController',
25 'PhpMyAdmin\Controllers\Table\TableSearchController'
27 $container->set('PhpMyAdmin\Response', Response::getInstance());
28 $container->alias('response', 'PhpMyAdmin\Response');
30 $dependency_definitions = [
31 'searchType' => 'replace',
32 'url_query' => &$url_query
35 /** @var PhpMyAdmin\Controllers\Table\TableSearchController $controller */
36 $controller = $container->get('TableSearchController', $dependency_definitions);
37 $controller->indexAction();