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');
17 'TableChartController', 'PMA\Controllers\Table\TableChartController'
20 /* Define dependencies for the concerned controller */
21 $dependency_definitions = array(
22 "sql_query" => &$GLOBALS['sql_query'],
23 "url_query" => &$GLOBALS['url_query'],
24 "cfg" => &$GLOBALS['cfg']
27 /** @var Controllers\Table\TableChartController $controller */
28 $controller = $container->get('TableChartController', $dependency_definitions);
29 $controller->indexAction();