2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * handles creation of the chart
11 require_once 'libraries/di/Container.class.php';
12 require_once 'libraries/controllers/TableChartController.class.php';
14 $container = DI\Container
::getDefaultContainer();
15 $container->factory('PMA\Controllers\Table\TableChartController');
16 $container->alias('TableChartController', 'PMA\Controllers\Table\TableChartController');
18 /* Define dependencies for the concerned controller */
19 $dependency_definitions = array(
20 "sql_query" => &$GLOBALS['sql_query'],
21 "url_query" => &$GLOBALS['url_query'],
22 "cfg" => &$GLOBALS['cfg']
25 /** @var Controllers\Table\TableChartController $controller */
26 $controller = $container->get('TableChartController', $dependency_definitions);
27 $controller->indexAction();