2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Handles find and replace tab
6 * Displays find and replace form, allows previewing and do the replacing
11 use PhpMyAdmin\Di\Container
;
12 use PhpMyAdmin\Response
;
15 * Gets some core libraries
17 require_once 'libraries/common.inc.php';
18 require_once 'libraries/tbl_common.inc.php';
20 $container = Container
::getDefaultContainer();
21 $container->factory('PhpMyAdmin\Controllers\Table\TableSearchController');
23 'TableSearchController', 'PhpMyAdmin\Controllers\Table\TableSearchController'
25 $container->set('PhpMyAdmin\Response', Response
::getInstance());
26 $container->alias('response', 'PhpMyAdmin\Response');
28 $dependency_definitions = array(
29 'searchType' => 'replace',
30 'url_query' => &$url_query
33 /** @var PhpMyAdmin\Controllers\Table\TableSearchController $controller */
34 $controller = $container->get('TableSearchController', $dependency_definitions);
35 $controller->indexAction();