Translated using Weblate (Czech)
[phpmyadmin.git] / db_datadict.php
blob7f0f304fd7638c6e1494217a2b26e576dcf17e44
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Renders data dictionary
6 * @package PhpMyAdmin
7 */
8 declare(strict_types=1);
10 use PhpMyAdmin\Controllers\Database\DataDictionaryController;
11 use PhpMyAdmin\Response;
12 use PhpMyAdmin\Util;
14 if (! defined('ROOT_PATH')) {
15 define('ROOT_PATH', __DIR__ . DIRECTORY_SEPARATOR);
18 require_once ROOT_PATH . 'libraries/common.inc.php';
20 Util::checkParameters(['db']);
22 /** @var Response $response */
23 $response = $containerBuilder->get(Response::class);
25 /** @var DataDictionaryController $controller */
26 $controller = $containerBuilder->get(DataDictionaryController::class);
28 $header = $response->getHeader();
29 $header->enablePrintView();
31 $response->addHTML($controller->index());