2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * object the server export page
8 declare(strict_types
=1);
10 use PhpMyAdmin\Config\PageSettings
;
11 use PhpMyAdmin\Display\Export
;
12 use PhpMyAdmin\Response
;
14 if (! defined('ROOT_PATH')) {
15 define('ROOT_PATH', __DIR__
. DIRECTORY_SEPARATOR
);
20 require_once ROOT_PATH
. 'libraries/common.inc.php';
21 require_once ROOT_PATH
. 'libraries/server_common.inc.php';
23 PageSettings
::showGroup('Export');
25 $response = Response
::getInstance();
26 $header = $response->getHeader();
27 $scripts = $header->getScripts();
28 $scripts->addFile('export.js');
30 $export_page_title = __('View dump (schema) of databases') . "\n";
32 $displayExport = new Export();
34 $select_item = isset($tmp_select) ?
$tmp_select : '';
35 $multi_values = $displayExport->getHtmlForSelectOptions($select_item);
37 if (! isset($sql_query)) {
40 if (! isset($num_tables)) {
43 if (! isset($unlim_num_rows)) {
46 $response = Response
::getInstance();
48 $displayExport->getDisplay(