Translated using Weblate (Armenian)
[phpmyadmin.git] / tbl_gis_visualization.php
blob7b597da5a2bc18583a68d9292401c9cf45bcc40c
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 namespace PMA;
11 use PMA_Util;
13 require_once 'libraries/di/Container.class.php';
14 require_once 'libraries/controllers/TableGisVisualizationController.class.php';
15 require_once 'libraries/Util.class.php';
17 $container = DI\Container::getDefaultContainer();
18 $container->factory('PMA\Controllers\Table\TableGisVisualizationController');
19 $container->alias(
20 'TableGisVisualizationController',
21 'PMA\Controllers\Table\TableGisVisualizationController'
24 /* Define dependencies for the concerned controller */
25 $dependency_definitions = array(
26 "sql_query" => &$GLOBALS['sql_query'],
27 "url_params" => &$GLOBALS['url_params'],
28 "goto" => PMA_Util::getScriptNameForOption(
29 $GLOBALS['cfg']['DefaultTabDatabase'], 'database'
31 "back" => 'sql.php',
32 "visualizationSettings" => array()
35 /** @var Controllers\Table\TableGisVisualizationController $controller */
36 $controller = $container->get(
37 'TableGisVisualizationController', $dependency_definitions
39 $controller->indexAction();