2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * handles creation of the GIS visualizations.
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');
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'
32 "visualizationSettings" => array()
35 /** @var Controllers\Table\TableGisVisualizationController $controller */
36 $controller = $container->get(
37 'TableGisVisualizationController', $dependency_definitions
39 $controller->indexAction();