Merge remote-tracking branch 'origin/master'
[phpmyadmin.git] / tbl_find_replace.php
blobd3ec712bb8550728c234659af6cc5b95407652a9
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/tbl_info.inc.php';
18 $container = \PMA\libraries\di\Container::getDefaultContainer();
19 $container->factory('PMA\libraries\controllers\table\TableSearchController');
20 $container->alias(
21 'TableSearchController', 'PMA\libraries\controllers\table\TableSearchController'
23 $container->set('PMA\libraries\Response', PMA\libraries\Response::getInstance());
24 $container->alias('response', 'PMA\libraries\Response');
26 $dependency_definitions = array(
27 'searchType' => 'replace',
28 'url_query' => &$url_query
31 /** @var PMA\libraries\controllers\table\TableSearchController $controller */
32 $controller = $container->get('TableSearchController', $dependency_definitions);
33 $controller->indexAction();