Translated using Weblate (Indonesian)
[phpmyadmin.git] / tbl_gis_visualization.php
blob4b92db00686875e18dcfba3e7b321ae615415e04
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * handles creation of the GIS visualizations.
6 * @package PhpMyAdmin
7 */
9 use PhpMyAdmin\Controllers\Table\TableGisVisualizationController;
10 use PhpMyAdmin\Di\Container;
11 use PhpMyAdmin\Response;
12 use PhpMyAdmin\Util;
14 require_once 'libraries/common.inc.php';
16 $container = Container::getDefaultContainer();
17 $container->factory(
18 'PhpMyAdmin\Controllers\Table\TableGisVisualizationController'
20 $container->alias(
21 'TableGisVisualizationController',
22 'PhpMyAdmin\Controllers\Table\TableGisVisualizationController'
24 $container->set('PhpMyAdmin\Response', Response::getInstance());
25 $container->alias('response', 'PhpMyAdmin\Response');
27 /* Define dependencies for the concerned controller */
28 $dependency_definitions = array(
29 "sql_query" => &$GLOBALS['sql_query'],
30 "url_params" => &$GLOBALS['url_params'],
31 "goto" => Util::getScriptNameForOption(
32 $GLOBALS['cfg']['DefaultTabDatabase'], 'database'
34 "back" => 'sql.php',
35 "visualizationSettings" => array()
38 /** @var TableGisVisualizationController $controller */
39 $controller = $container->get(
40 'TableGisVisualizationController', $dependency_definitions
42 $controller->indexAction();