2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * handles creation of the GIS visualizations.
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();
19 'PMA\libraries\controllers\table\TableGisVisualizationController'
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'
36 "visualizationSettings" => array()
39 /** @var TableGisVisualizationController $controller */
40 $controller = $container->get(
41 'TableGisVisualizationController', $dependency_definitions
43 $controller->indexAction();