2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Renders data dictionary
8 declare(strict_types
=1);
10 use PhpMyAdmin\Controllers\Database\DataDictionaryController
;
11 use PhpMyAdmin\Response
;
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());