Translated using Weblate (Albanian)
[phpmyadmin.git] / tbl_gis_visualization.php
blob72feb468e605390a11b1f51a479791dbe03d7158
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\libraries\controllers\table\TableGisVisualizationController;
12 use PMA\libraries\Response;
13 use PMA\libraries\Util;
15 require_once 'libraries/common.inc.php';
17 $container = libraries\di\Container::getDefaultContainer();
18 $container->factory(
19 'PMA\libraries\controllers\table\TableGisVisualizationController'
21 $container->alias(
22 'TableGisVisualizationController',
23 'PMA\libraries\controllers\table\TableGisVisualizationController'
25 $container->set('PMA\libraries\Response', Response::getInstance());
26 $container->alias('response', 'PMA\libraries\Response');
28 /* Define dependencies for the concerned controller */
29 $dependency_definitions = array(
30 "sql_query" => &$GLOBALS['sql_query'],
31 "url_params" => &$GLOBALS['url_params'],
32 "goto" => Util::getScriptNameForOption(
33 $GLOBALS['cfg']['DefaultTabDatabase'], 'database'
35 "back" => 'sql.php',
36 "visualizationSettings" => array()
39 /** @var TableGisVisualizationController $controller */
40 $controller = $container->get(
41 'TableGisVisualizationController', $dependency_definitions
43 $controller->indexAction();