removed unused function
[openemr.git] / phpmyadmin / tbl_chart.php
bloba435b5e4855332bda492249c2e52740fccc70ad8
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * handles creation of the chart
6 * @package PhpMyAdmin
7 */
9 namespace PMA;
11 use PMA_Response;
13 require_once 'libraries/common.inc.php';
14 require_once 'libraries/di/Container.class.php';
15 require_once 'libraries/Response.class.php';
16 require_once 'libraries/controllers/TableChartController.class.php';
18 $container = DI\Container::getDefaultContainer();
19 $container->factory('PMA\Controllers\Table\TableChartController');
20 $container->alias(
21 'TableChartController', 'PMA\Controllers\Table\TableChartController'
23 $container->set('PMA_Response', PMA_Response::getInstance());
24 $container->alias('response', 'PMA_Response');
26 /* Define dependencies for the concerned controller */
27 $dependency_definitions = array(
28 "sql_query" => &$GLOBALS['sql_query'],
29 "url_query" => &$GLOBALS['url_query'],
30 "cfg" => &$GLOBALS['cfg']
33 /** @var Controllers\Table\TableChartController $controller */
34 $controller = $container->get('TableChartController', $dependency_definitions);
35 $controller->indexAction();