2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * object the server export page
8 use PhpMyAdmin\Config\PageSettings
;
9 use PhpMyAdmin\Display\Export
;
10 use PhpMyAdmin\Response
;
13 * Does the common work
15 require_once 'libraries/common.inc.php';
16 require_once 'libraries/server_common.inc.php';
18 PageSettings
::showGroup('Export');
20 $response = Response
::getInstance();
21 $header = $response->getHeader();
22 $scripts = $header->getScripts();
23 $scripts->addFile('export.js');
25 $export_page_title = __('View dump (schema) of databases') . "\n";
27 $displayExport = new Export();
29 $select_item = isset($tmp_select)?
$tmp_select : '';
30 $multi_values = $displayExport->getHtmlForSelectOptions($select_item);
32 if (! isset($sql_query)) {
35 if (! isset($num_tables)) {
38 if (! isset($unlim_num_rows)) {
41 $response = Response
::getInstance();
43 $displayExport->getDisplay(
44 'server', $db, $table, $sql_query, $num_tables,
45 $unlim_num_rows, $multi_values