Translated using Weblate (French)
[phpmyadmin.git] / schema_export.php
blob85148c52230fade8431d78b0ddd7a63f4b4b6c03
1 <?php
2 /* vim: set expandtab sw=4 ts=4 sts=4: */
3 /**
4 * Schema export handler
6 * @package PhpMyAdmin
7 */
8 declare(strict_types=1);
10 use PhpMyAdmin\Export;
11 use PhpMyAdmin\Relation;
12 use PhpMyAdmin\Util;
14 /**
15 * Gets some core libraries
17 require_once 'libraries/common.inc.php';
19 /**
20 * get all variables needed for exporting relational schema
21 * in $cfgRelation
23 $relation = new Relation();
24 $cfgRelation = $relation->getRelationsParam();
26 if (! isset($_REQUEST['export_type'])) {
27 Util::checkParameters(['export_type']);
30 /**
31 * Include the appropriate Schema Class depending on $export_type
32 * default is PDF
34 $export = new Export();
35 $export->processExportSchema($_REQUEST['export_type']);