2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * object the server export page
8 use PMA\libraries\config\PageSettings
;
9 use PMA\libraries\Response
;
12 * Does the common work
14 require_once 'libraries/common.inc.php';
15 require_once 'libraries/config/user_preferences.forms.php';
16 require_once 'libraries/config/page_settings.forms.php';
17 require_once 'libraries/server_common.inc.php';
18 require_once 'libraries/display_export.lib.php';
20 PageSettings
::showGroup('Export');
22 $response = Response
::getInstance();
23 $header = $response->getHeader();
24 $scripts = $header->getScripts();
25 $scripts->addFile('export.js');
27 $export_page_title = __('View dump (schema) of databases') . "\n";
29 $select_item = isset($tmp_select)?
$tmp_select : '';
30 $multi_values = PMA_getHtmlForExportSelectOptions($select_item);
32 require_once 'libraries/display_export.lib.php';
34 if (! isset($sql_query)) {
37 if (! isset($num_tables)) {
40 if (! isset($unlim_num_rows)) {
43 $response = Response
::getInstance();
46 'server', $db, $table, $sql_query, $num_tables,
47 $unlim_num_rows, $multi_values