2 /* vim: set expandtab sw=4 ts=4 sts=4: */
4 * Schema export handler
8 declare(strict_types
=1);
10 use PhpMyAdmin\Export
;
11 use PhpMyAdmin\Relation
;
15 * Gets some core libraries
17 require_once 'libraries/common.inc.php';
20 * get all variables needed for exporting relational schema
23 $relation = new Relation();
24 $cfgRelation = $relation->getRelationsParam();
26 if (! isset($_REQUEST['export_type'])) {
27 Util
::checkParameters(['export_type']);
31 * Include the appropriate Schema Class depending on $export_type
34 $export = new Export();
35 $export->processExportSchema($_REQUEST['export_type']);