Translated using Weblate (Albanian)
[phpmyadmin.git] / tbl_chart.php
blob1de35d8a2d414be6e89a730eb2c4bbb36e8d14cd
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\libraries\controllers\table\TableChartController;
12 use PMA\libraries\Response;
14 require_once 'libraries/common.inc.php';
16 $container = libraries\di\Container::getDefaultContainer();
17 $container->factory('PMA\libraries\controllers\table\TableChartController');
18 $container->alias(
19 'TableChartController', 'PMA\libraries\controllers\table\TableChartController'
21 $container->set('PMA\libraries\Response', Response::getInstance());
22 $container->alias('response', 'PMA\libraries\Response');
24 /* Define dependencies for the concerned controller */
25 $dependency_definitions = array(
26 "sql_query" => &$GLOBALS['sql_query'],
27 "url_query" => &$GLOBALS['url_query'],
28 "cfg" => &$GLOBALS['cfg']
31 /** @var TableChartController $controller */
32 $controller = $container->get('TableChartController', $dependency_definitions);
33 $controller->indexAction();