Translated using Weblate (French)
[phpmyadmin.git] / tbl_find_replace.php
blob8bff91c467e325127a3ef5449500a6cd76be3171
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 */
11 /**
12 * Gets some core libraries
14 require_once 'libraries/common.inc.php';
15 require_once 'libraries/tbl_common.inc.php';
16 require_once 'libraries/di/Container.class.php';
17 require_once 'libraries/controllers/TableSearchController.class.php';
19 use PMA\DI;
21 $container = DI\Container::getDefaultContainer();
22 $container->factory('PMA\Controllers\Table\TableSearchController');
23 $container->alias(
24 'TableSearchController', 'PMA\Controllers\Table\TableSearchController'
27 $dependency_definitions = array(
28 'searchType' => 'replace',
29 'url_query' => &$url_query
32 /** @var PMA\Controllers\Table\TableSearchController $controller */
33 $controller = $container->get('TableSearchController', $dependency_definitions);
34 $controller->indexAction();