Translated using Weblate (Kazakh)
[phpmyadmin.git] / tbl_chart.php
blob59ff97977f0f0ccf2a8f288a2afcdd73f53d0e7f
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * handles creation of the chart
6 * @package PhpMyAdmin
7 */
9 use PhpMyAdmin\Controllers\Table\TableChartController;
10 use PhpMyAdmin\Di\Container;
11 use PhpMyAdmin\Response;
13 require_once 'libraries/common.inc.php';
15 $container = Container::getDefaultContainer();
16 $container->factory('PhpMyAdmin\Controllers\Table\TableChartController');
17 $container->alias(
18 'TableChartController', 'PhpMyAdmin\Controllers\Table\TableChartController'
20 $container->set('PhpMyAdmin\Response', Response::getInstance());
21 $container->alias('response', 'PhpMyAdmin\Response');
23 /* Define dependencies for the concerned controller */
24 $dependency_definitions = array(
25 "sql_query" => &$GLOBALS['sql_query'],
26 "url_query" => &$GLOBALS['url_query'],
27 "cfg" => &$GLOBALS['cfg']
30 /** @var TableChartController $controller */
31 $controller = $container->get('TableChartController', $dependency_definitions);
32 $controller->indexAction();