Translated using Weblate (Slovenian)
[phpmyadmin.git] / tbl_structure.php
blobae93d3bdd479ad78084ee49865f7369ac65e58f6
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Displays table structure infos like columns, indexes, size, rows
5 * and allows manipulation of indexes and columns
7 * @package PhpMyAdmin
8 */
10 namespace PMA;
12 require_once 'libraries/common.inc.php';
13 require_once 'libraries/mysql_charsets.inc.php';
14 require_once 'libraries/config/page_settings.class.php';
15 require_once 'libraries/bookmark.lib.php';
16 require_once 'libraries/di/Container.class.php';
17 require_once 'libraries/controllers/TableStructureController.class.php';
19 $container = DI\Container::getDefaultContainer();
20 $container->factory('PMA\Controllers\TableStructureController');
21 $container->alias(
22 'TableStructureController', 'PMA\Controllers\TableStructureController'
25 global $db, $table, $db_is_system_schema, $tbl_is_view, $tbl_storage_engine,
26 $table_info_num_rows, $tbl_collation, $showtable;
27 /* Define dependencies for the concerned controller */
28 $dependency_definitions = array(
29 'db' => $db,
30 'table' => $table,
31 'url_query' => &$GLOBALS['url_query'],
32 'db_is_system_schema' => $db_is_system_schema,
33 'tbl_is_view' => $tbl_is_view,
34 'tbl_storage_engine' => $tbl_storage_engine,
35 'table_info_num_rows' => $table_info_num_rows,
36 'tbl_collation' => $tbl_collation,
37 'showtable' => $showtable
40 /** @var Controllers\TableStructureController $controller */
41 $controller = $container->get('TableStructureController', $dependency_definitions);
42 $controller->indexAction();